From 21c8bfa537ff157a8c8f1138d84898ffde239e47 Mon Sep 17 00:00:00 2001 From: AlexVallat Date: Sun, 1 Mar 2015 19:47:03 +0000 Subject: [PATCH] https://github.com/gorhill/uBlock/issues/524#issuecomment-76620479 --- platform/firefox/vapi-background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index a35cde7..800ca95 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -464,7 +464,7 @@ vAPI.tabs.registerListeners = function() { } var URI = browser.currentURI; if ( URI.schemeIs('chrome') && URI.host === location.host ) { - vAPI.tabs._remove(tab, win); + vAPI.tabs._remove(tab, getTabBrowser(win)); } } }