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)); } } }