diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-03-24 20:56:47 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-03-24 20:56:47 -0700 |
commit | 059b2eb4f229f9669709520a5c88d041b3b64590 (patch) | |
tree | 9f53547aa6dd0ade22372dfc9f6c1298087a04b7 /ext/content.js | |
parent | ac012b26b37f6c01a80c1faa98fbe43913e47b6e (diff) |
Improved messaging
Diffstat (limited to 'ext/content.js')
-rw-r--r-- | ext/content.js | 5 |
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); +})(); |