This commit is contained in:
Alex Yatskov 2016-10-17 09:17:10 -07:00
parent f22fcb0a5d
commit 0afc4579c5

View File

@ -102,11 +102,8 @@ class Driver {
onMouseDown(e) { onMouseDown(e) {
this.lastMousePos = {x: e.clientX, y: e.clientY}; this.lastMousePos = {x: e.clientX, y: e.clientY};
this.popupTimerClear(); this.popupTimerClear();
if (this.popup.visible()) {
this.hidePopup(); this.hidePopup();
} }
}
onBgMessage({action, params}, sender, callback) { onBgMessage({action, params}, sender, callback) {
const method = this['api_' + action]; const method = this['api_' + action];