aboutsummaryrefslogtreecommitdiff
path: root/ext/content.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/content.js')
-rw-r--r--ext/content.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/content.js b/ext/content.js
index 5ff0031e..72e45337 100644
--- a/ext/content.js
+++ b/ext/content.js
@@ -53,4 +53,7 @@ function onMouseDown(e) {
});
}
-window.addEventListener('mousedown', onMouseDown, false);
+
+(() => {
+ window.addEventListener('mousedown', onMouseDown, false);
+})();