From ecba6ce48d90fb2f6a512795bb21b72d4cfa252c Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Sun, 22 Mar 2020 15:14:37 -0700 Subject: [PATCH] Remove d3_selectAll from osmose_details.js --- modules/ui/osmose_details.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/ui/osmose_details.js b/modules/ui/osmose_details.js index e4ea677ef..a829d419d 100644 --- a/modules/ui/osmose_details.js +++ b/modules/ui/osmose_details.js @@ -1,7 +1,6 @@ import { event as d3_event, - select as d3_select, - selectAll as d3_selectAll + select as d3_select } from 'd3-selection'; import { modeSelect } from '../modes/select'; @@ -111,7 +110,7 @@ export function uiOsmoseDetails(context) { // Do nothing if UI has moved on by the time this resolves if ( context.selectedErrorID() !== thisItem.id - && d3_selectAll(`.qaItem.osmose.hover.itemId-${thisItem.id}`).empty() + && context.container().selectAll(`.qaItem.osmose.hover.itemId-${thisItem.id}`).empty() ) return; // Things like keys and values are dynamically added to a subtitle string