Skip to content

Commit

Permalink
Remove private tabs from closing private windows in SeaMonkey
Browse files Browse the repository at this point in the history
Looks like SeaMonkey bug, but it's very easy to fix
(for #36)
  • Loading branch information
Infocatcher committed Apr 18, 2013
1 parent c8fffed commit 554380d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ var windowsObserver = {
windowClosingHandler: function(e) {
var window = e.currentTarget;
_log("windowClosingHandler() [" + e.type + "]");
if(
!this.isPrivateWindow(window)
if( //~ todo: this looks like SeaMonkey bug... and may be fixed later
(this.isSeaMonkey || !this.isPrivateWindow(window))
&& !prefs.get("savePrivateTabsInSessions")
) {
_log(e.type + " => closePrivateTabs()");
Expand Down

0 comments on commit 554380d

Please sign in to comment.