Skip to content

Commit

Permalink
Update moreinfobutton.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jokd authored Dec 6, 2024
1 parent 69a2f38 commit 537fd60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controls/legend/moreinfobutton.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function createMoreInfoButton(params) {
const popupMenuItems = [];
let moreInfoButton;
let popupMenu;
const showPopup = group.zoomToExtent && group.extent || group.removable; // In case of zoomToExtent or removable we always want to show popupmenu
const showPopup = (group.zoomToExtent && group.extent) || group.removable; // In case of zoomToExtent or removable we always want to show popupmenu

const eventOverlayProps = new CustomEvent('overlayproperties', {
bubbles: true,
Expand Down

0 comments on commit 537fd60

Please sign in to comment.