aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2016-03-15 15:51:52 +0000
committerStephen Blott2016-03-17 11:17:03 +0000
commit309704eba6673360c8b29a103bc2c76244e82b08 (patch)
tree2fc25c3153a7640941aedaf05dd39c69e9c1e877
parentf504fd305e5b2c16b2053a76090ea2618ab42332 (diff)
downloadvimium-309704eba6673360c8b29a103bc2c76244e82b08.tar.bz2
No need to block until `frameId?`.
Now that we've moved Frame.init() back to before checkIfEnabledForUrl, there's no longer a need to check that frameId has been initialised. It must have been.
-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 49187e4a..c8a0f2c2 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -169,7 +169,7 @@ initializePreDomReady = ->
# Wrapper to install event listeners. Syntactic sugar.
installListener = (element, event, callback) ->
element.addEventListener(event, ->
- if isEnabledForUrl and frameId? then callback.apply(this, arguments) else true
+ if isEnabledForUrl then callback.apply(this, arguments) else true
, true)
#