mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 22:03:37 +02:00
Don't use global selector in uiPopover (re: #7445)
This commit is contained in:
@@ -76,7 +76,7 @@ export function uiPopover(klass) {
|
||||
};
|
||||
|
||||
popover.isShown = function() {
|
||||
var popoverSelection = d3_select('.popover-' + _id);
|
||||
var popoverSelection = _anchorSelection.select('.popover-' + _id);
|
||||
return !popoverSelection.empty() && popoverSelection.classed('in');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user