summaryrefslogtreecommitdiff
path: root/ext/client.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/client.js')
-rw-r--r--ext/client.js1
1 files changed, 1 insertions, 0 deletions
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'));
}