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