Skip to content

Commit

Permalink
Force remove private tabs from closing window without animations
Browse files Browse the repository at this point in the history
(correction for #36)
  • Loading branch information
Infocatcher committed Apr 24, 2013
1 parent 24f2f6b commit 49072b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ var windowsObserver = {
else {
if(i == 0 && !hasNotPrivate)
gBrowser.selectedTab = gBrowser.addTab("about:blank", { skipAnimation: true });
gBrowser.removeTab(tab);
gBrowser.removeTab(tab, { animate: false });
_log("closePrivateTabs(): remove tab: " + (tab.getAttribute("label") || "").substr(0, 256));
}
}
Expand Down

0 comments on commit 49072b7

Please sign in to comment.