From 4edbdd9dd5ec730676121806ed265e2562f29715 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 08b2a84bc..cf9649dac 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -433,7 +433,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)); } } }