From 7ec9e6fd88cf447ea0a6854f6549288b7caab11e Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Mon, 28 Mar 2016 19:09:39 -0700 Subject: Don't send up events to window --- ext/client.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/client.js b/ext/client.js index f5fdfb4d..2812971c 100644 --- a/ext/client.js +++ b/ext/client.js @@ -30,6 +30,7 @@ class Client { window.addEventListener('mousedown', this.onMouseDown.bind(this)); window.addEventListener('mousemove', this.onMouseMove.bind(this)); window.addEventListener('keydown', this.onKeyDown.bind(this)); + this.popup.mousedown((e) => e.stopPropagation()); getState((state) => this.setEnabled(state === 'enabled')); } -- cgit v1.2.3