aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/vimium_frontend.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
-rw-r--r--content_scripts/vimium_frontend.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index da2292de..1bf49a26 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -610,11 +610,11 @@ checkIfEnabledForUrl = (frameIsFocused = windowIsFocused()) ->
# When we're informed by the background page that a URL in this tab has changed, we check if we have the
# correct enabled state (but only if this frame has the focus).
-checkEnabledAfterURLChange = (request) ->
+checkEnabledAfterURLChange = ->
if windowIsFocused()
checkIfEnabledForUrl()
# We also grab back the focus. See #1588.
- new GrabBackFocus() if request.transitionType in [ "link", "form_submit" ]
+ new GrabBackFocus
# Exported to window, but only for DOM tests.
window.refreshCompletionKeys = (response) ->