From e5f47ec43a2b898f5c8b62ff6a5f5dd4ab538946 Mon Sep 17 00:00:00 2001 From: Scott Elwood Date: Fri, 25 Aug 2017 16:38:00 -0700 Subject: [PATCH] Remove toggling listeners on tryingToHide --- dist/popover.js | 2 -- src/renderer.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/dist/popover.js b/dist/popover.js index 9ff7232d..cdb21bcf 100644 --- a/dist/popover.js +++ b/dist/popover.js @@ -970,8 +970,6 @@ var Renderer = function () { }, { key: 'isTryingToHide', value: function isTryingToHide(element, event, e) { - this.toggleHideListeners(false); - if (element === document.body) { return this.onDocumentClick(e); } diff --git a/src/renderer.js b/src/renderer.js index 4b00ed91..77c7c058 100644 --- a/src/renderer.js +++ b/src/renderer.js @@ -155,8 +155,6 @@ class Renderer { } isTryingToHide(element, event, e) { - this.toggleHideListeners(false); - if (element === document.body) { return this.onDocumentClick(e); }