diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-10-17 09:17:10 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-10-17 09:17:10 -0700 |
commit | 0afc4579c550ab32921a0f1a5bbd2568451edff5 (patch) | |
tree | 0ffb9a2db10eb03a8e563696d43c238b5be57c3f /ext/fg | |
parent | f22fcb0a5d5ef5b3003fbfabf21713bc889d0942 (diff) |
WIP
Diffstat (limited to 'ext/fg')
-rw-r--r-- | ext/fg/js/driver.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/fg/js/driver.js b/ext/fg/js/driver.js index 280a7dca..1be69f11 100644 --- a/ext/fg/js/driver.js +++ b/ext/fg/js/driver.js @@ -102,10 +102,7 @@ class Driver { onMouseDown(e) { this.lastMousePos = {x: e.clientX, y: e.clientY}; this.popupTimerClear(); - - if (this.popup.visible()) { - this.hidePopup(); - } + this.hidePopup(); } onBgMessage({action, params}, sender, callback) { |