mirror of
https://github.com/zotero/zotero.git
synced 2026-10-06 02:50:03 +00:00
Close Zotero tab on shutdown if not in tab mode
This commit is contained in:
parent
665d59215d
commit
8c8e5f4b40
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue