From 0afc4579c550ab32921a0f1a5bbd2568451edff5 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Mon, 17 Oct 2016 09:17:10 -0700 Subject: [PATCH] WIP --- ext/fg/js/driver.js | 5 +---- 1 file changed, 1 insertion(+), 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) {