diff --git a/modules/ui/popover.js b/modules/ui/popover.js index 8c2f89e98..e7c6d9438 100644 --- a/modules/ui/popover.js +++ b/modules/ui/popover.js @@ -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'); };