aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/main.coffee
diff options
context:
space:
mode:
authormrmr19932017-12-02 15:02:43 +0000
committermrmr19932017-12-02 15:02:43 +0000
commitfb00eaa6bd4ee8889d10a9ef9d976fefd3be7879 (patch)
treedaf9451c8352898f9a960eb8e4ef04ace89fe216 /background_scripts/main.coffee
parent43c7390f987fea063e7a97cd8b37c7b61d45f615 (diff)
downloadvimium-fb00eaa6bd4ee8889d10a9ef9d976fefd3be7879.tar.bz2
Use portsForTab to decide whether Vimium can access a tab or not
Diffstat (limited to 'background_scripts/main.coffee')
-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 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".