activate "fast restore" for any window restoration (ex. Private Browsing, Session Manager, etc.)
This commit is contained in:
parent
fa4d4e1648
commit
1bc3146759
@ -2277,11 +2277,8 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
|
|
||||||
onWindowStateRestored : function TSTBrowser_onWindowStateRestored()
|
onWindowStateRestored : function TSTBrowser_onWindowStateRestored()
|
||||||
{
|
{
|
||||||
if (this.window.__SS_tabsToRestore) {
|
if (this.window.__SS_tabsToRestore && this.window.__SS_tabsToRestore > 1)
|
||||||
if (!this.windowStateRestored)
|
|
||||||
this.fastRestoreTreeStructure();
|
this.fastRestoreTreeStructure();
|
||||||
}
|
|
||||||
this.windowStateRestored = true;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
fastRestoreTreeStructure : function TSTBrowser_fastRestoreTreeStructure()
|
fastRestoreTreeStructure : function TSTBrowser_fastRestoreTreeStructure()
|
||||||
|
Loading…
Reference in New Issue
Block a user