better handling of restart with tabs restored in Fx 4
This commit is contained in:
parent
1654545d02
commit
3290d8f8cf
1 changed files with 2 additions and 1 deletions
|
@ -104,7 +104,8 @@ var ZoteroTab = new function()
|
|||
if(tabs.length > 1) {
|
||||
window.close();
|
||||
} else {
|
||||
this.containerWindow.BrowserGoHome();
|
||||
if(Zotero.isFx4) this.containerWindow.gBrowser.unpinTab(tabs[0]);
|
||||
document.location.replace(this.containerWindow.gHomeButton.getHomePage());
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue