diff --git a/modules/ui/background.js b/modules/ui/background.js index 8f1ba2d2f..9b58c79d5 100644 --- a/modules/ui/background.js +++ b/modules/ui/background.js @@ -568,9 +568,6 @@ export function uiBackground(context) { d3_select(document) .call(keybinding); - - context.surface().on('mousedown.background-outside', hide); - context.container().on('mousedown.background-outside', hide); } return background; diff --git a/modules/ui/help.js b/modules/ui/help.js index 7b293efe6..45e5b27aa 100644 --- a/modules/ui/help.js +++ b/modules/ui/help.js @@ -439,9 +439,6 @@ export function uiHelp(context) { d3_select(document) .call(keybinding); - - context.surface().on('mousedown.help-outside', hide); - context.container().on('mousedown.help-outside', hide); } return help; diff --git a/modules/ui/map_data.js b/modules/ui/map_data.js index 49a238ba3..fb522c098 100644 --- a/modules/ui/map_data.js +++ b/modules/ui/map_data.js @@ -492,11 +492,7 @@ export function uiMapData(context) { d3_select(document) .call(keybinding); - - context.surface().on('mousedown.map_data-outside', hidePanel); - context.container().on('mousedown.map_data-outside', hidePanel); } - return map_data; }