aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authorStephen Blott2015-04-28 07:49:13 +0100
committerStephen Blott2015-04-28 07:49:13 +0100
commitf1e46d8145c834a712f6be7c1e5bd590c72da749 (patch)
tree5853bc3430a95645a6d1bbdbb6799bc0e8924c22 /background_scripts
parent061e99f895e5655d351ad1585af028a12abf3ec0 (diff)
downloadvimium-f1e46d8145c834a712f6be7c1e5bd590c72da749.tar.bz2
Only grab focus after link transition.
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/main.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index e782a217..e3d1d214 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -100,7 +100,7 @@ root.isEnabledForUrl = isEnabledForUrl = (request, sender) ->
}
onURLChange = (details) ->
- chrome.tabs.sendMessage details.tabId, name: "checkEnabledAfterURLChange"
+ chrome.tabs.sendMessage details.tabId, extend details, name: "checkEnabledAfterURLChange"
# Re-check whether Vimium is enabled for a frame when the url changes without a reload.
chrome.webNavigation.onHistoryStateUpdated.addListener onURLChange # history.pushState.