From 8c8e5f4b403d386257a5bc6865c59225bbc98a9d Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 17 Aug 2011 22:35:05 +0000 Subject: [PATCH] Close Zotero tab on shutdown if not in tab mode --- chrome/content/zotero/tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/tab.js b/chrome/content/zotero/tab.js index 79a2be8877..644698e1ec 100644 --- a/chrome/content/zotero/tab.js +++ b/chrome/content/zotero/tab.js @@ -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 {