From fb00eaa6bd4ee8889d10a9ef9d976fefd3be7879 Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Sat, 2 Dec 2017 15:02:43 +0000 Subject: Use portsForTab to decide whether Vimium can access a tab or not --- background_scripts/main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'background_scripts/main.coffee') diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 53f13b60..e21c1a25 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -20,7 +20,7 @@ chrome.runtime.onInstalled.addListener ({ reason }) -> func tab.id, { file: file, allFrames: contentScripts.all_frames }, checkLastRuntimeError frameIdsForTab = {} -portsForTab = {} +root.portsForTab = {} root.urlForTab = {} # This is exported for use by "marks.coffee". -- cgit v1.2.3