aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authorStephen Blott2017-11-18 12:28:59 +0000
committerStephen Blott2017-11-18 12:28:59 +0000
commit72d7af375fbf4ba7fd300ae4602e45a0c2652e59 (patch)
tree2320766fe11d7c85fa56f1178b15f47fe51ef6cf /content_scripts
parente99e98561153f8b68376406de844cc1855c38c02 (diff)
downloadvimium-72d7af375fbf4ba7fd300ae4602e45a0c2652e59.tar.bz2
Note reason for this rather obscure line.
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/vimium_frontend.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index feed4ae5..fa973e43 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -157,7 +157,7 @@ initializePreDomReady = ->
# Wrapper to install event listeners. Syntactic sugar.
installListener = (element, event, callback) ->
element.addEventListener(event, forTrusted(->
- root.extend window, root unless extend?
+ root.extend window, root unless extend? # See #2800.
if isEnabledForUrl then callback.apply(this, arguments) else true
), true)