Skip to content

Commit

Permalink
Remove toggling listeners on tryingToHide
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Elwood authored and Scott Elwood committed Aug 25, 2017
1 parent 6fd0083 commit e5f47ec
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions dist/popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 0 additions & 2 deletions src/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,6 @@ class Renderer {
}

isTryingToHide(element, event, e) {
this.toggleHideListeners(false);

if (element === document.body) {
return this.onDocumentClick(e);
}
Expand Down

0 comments on commit e5f47ec

Please sign in to comment.