aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-10-17 09:17:10 -0700
committerAlex Yatskov <alex@foosoft.net>2016-10-17 09:17:10 -0700
commit0afc4579c550ab32921a0f1a5bbd2568451edff5 (patch)
tree0ffb9a2db10eb03a8e563696d43c238b5be57c3f /ext
parentf22fcb0a5d5ef5b3003fbfabf21713bc889d0942 (diff)
WIP
Diffstat (limited to 'ext')
-rw-r--r--ext/fg/js/driver.js5
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) {