aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/fg/js/client.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/fg/js/client.js b/ext/fg/js/client.js
index 99d86019..8739fa2d 100644
--- a/ext/fg/js/client.js
+++ b/ext/fg/js/client.js
@@ -27,6 +27,8 @@ class Client {
this.popup = document.createElement('iframe');
this.popup.classList.add('yomichan-popup');
+ this.popup.addEventListener('mousedown', (e) => e.stopPropagation());
+ this.popup.addEventListener('scroll', (e) => e.stopPropagation());
document.body.appendChild(this.popup);
chrome.runtime.onMessage.addListener(this.onMessage.bind(this));