www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 8c8e5f4b403d386257a5bc6865c59225bbc98a9d
parent 665d59215d8082ce39a4b6dc7e06908b9207ed3e
Author: Simon Kornblith <simon@simonster.com>
Date:   Wed, 17 Aug 2011 22:35:05 +0000

Close Zotero tab on shutdown if not in tab mode


Diffstat:
Mchrome/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 @@ -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 {