From f5a7f83f06d39bda32883c6c527ae76f16395063 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Wed, 29 Apr 2015 14:21:09 +0100 Subject: Revert "Enable grab-back-focus after web navigation." This reverts commit 061e99f895e5655d351ad1585af028a12abf3ec0. --- content_scripts/vimium_frontend.coffee | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'content_scripts') 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) -> -- cgit v1.2.3