aboutsummaryrefslogtreecommitdiffstats
path: root/platform/firefox
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-07-05 09:26:33 -0400
committergorhill <rhill@raymondhill.net>2015-07-05 09:26:33 -0400
commit46cbe422277e7ff2d21a5bbee711f5635b82cb3e (patch)
treee87075f7275c38a78b5a7ad0a04bf4cac4f1b05e /platform/firefox
parent65647860f61380fe343b29cbfe51bcc8bc10d93b (diff)
downloaduBlock-46cbe422277e7ff2d21a5bbee711f5635b82cb3e.zip
uBlock-46cbe422277e7ff2d21a5bbee711f5635b82cb3e.tar.gz
uBlock-46cbe422277e7ff2d21a5bbee711f5635b82cb3e.tar.bz2
code review
Diffstat (limited to 'platform/firefox')
-rw-r--r--platform/firefox/vapi-background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js
index 227d682..0b1ac96 100644
--- a/platform/firefox/vapi-background.js
+++ b/platform/firefox/vapi-background.js
@@ -926,7 +926,7 @@ var tabWatcher = (function() {
if ( tabBrowser === null ) {
return null;
}
- return browserFromTarget(getTabBrowser(win).selectedTab);
+ return browserFromTarget(tabBrowser.selectedTab);
};
var removeBrowserEntry = function(tabId, browser) {