From f1e46d8145c834a712f6be7c1e5bd590c72da749 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Tue, 28 Apr 2015 07:49:13 +0100 Subject: Only grab focus after link transition. --- background_scripts/main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'background_scripts') 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. -- cgit v1.2.3