aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2015-04-29 14:21:09 +0100
committerStephen Blott2015-04-29 14:21:09 +0100
commitf5a7f83f06d39bda32883c6c527ae76f16395063 (patch)
tree8df788343f2e62563c56adac5d71dc970a216718
parent2259a8a37cf5a7ab971141777f478d430e33e1df (diff)
downloadvimium-f5a7f83f06d39bda32883c6c527ae76f16395063.tar.bz2
Revert "Enable grab-back-focus after web navigation."
This reverts commit 061e99f895e5655d351ad1585af028a12abf3ec0.
-rw-r--r--content_scripts/vimium_frontend.coffee5
1 files changed, 1 insertions, 4 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index 1bf49a26..02e6c9ee 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -611,10 +611,7 @@ 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 = ->
- if windowIsFocused()
- checkIfEnabledForUrl()
- # We also grab back the focus. See #1588.
- new GrabBackFocus
+ checkIfEnabledForUrl() if windowIsFocused()
# Exported to window, but only for DOM tests.
window.refreshCompletionKeys = (response) ->