AlexVallat 10 years ago committed by gorhill
parent e965b1eef7
commit 21c8bfa537

@ -464,7 +464,7 @@ vAPI.tabs.registerListeners = function() {
} }
var URI = browser.currentURI; var URI = browser.currentURI;
if ( URI.schemeIs('chrome') && URI.host === location.host ) { if ( URI.schemeIs('chrome') && URI.host === location.host ) {
vAPI.tabs._remove(tab, win); vAPI.tabs._remove(tab, getTabBrowser(win));
} }
} }
} }

Loading…
Cancel
Save