Close Zotero tab on shutdown if not in tab mode

This commit is contained in:
Simon Kornblith 2011-08-17 22:35:05 +00:00
parent 665d59215d
commit 8c8e5f4b40

View file

@ -83,7 +83,7 @@ var ZoteroTab = new function()
this.containerWindow.gBrowser.tabContainer.addEventListener("TabSelect", listener, false);
}
if(Zotero && Zotero.isFx4 && Zotero.Prefs.get("showIn") == 3) {
if(Zotero && Zotero.isFx4 && Zotero.Prefs.get("showIn") != 2) {
// on Fx 4, add an event listener so the pinned tab isn't restored on close
var pinnedTabCloser = function() {
try {