Skip to content

Commit

Permalink
Open link in modal
Browse files Browse the repository at this point in the history
  • Loading branch information
jokd committed Sep 11, 2023
1 parent a79249f commit fb34993
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/multiselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,10 @@ const Multiselect = function Multiselect(options = {}) {
} else if (result.length > 1) {
selectionManager.addItems(result);
}
const modalLinks = document.getElementsByClassName('o-identify-link-modal');
for (let i = 0; i < modalLinks.length; i += 1) {
viewer.getFeatureinfo().addLinkListener(modalLinks[i]);
}
});
}
return false;
Expand Down

0 comments on commit fb34993

Please sign in to comment.