From 1bc3146759c65b455e0be065a71ac0d2c9ae96f7 Mon Sep 17 00:00:00 2001 From: SHIMODA Hiroshi Date: Mon, 12 Dec 2011 16:44:10 +0900 Subject: [PATCH] activate "fast restore" for any window restoration (ex. Private Browsing, Session Manager, etc.) --- modules/browser.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/browser.js b/modules/browser.js index 453f2df0..37b15953 100644 --- a/modules/browser.js +++ b/modules/browser.js @@ -2277,11 +2277,8 @@ TreeStyleTabBrowser.prototype = { onWindowStateRestored : function TSTBrowser_onWindowStateRestored() { - if (this.window.__SS_tabsToRestore) { - if (!this.windowStateRestored) - this.fastRestoreTreeStructure(); - } - this.windowStateRestored = true; + if (this.window.__SS_tabsToRestore && this.window.__SS_tabsToRestore > 1) + this.fastRestoreTreeStructure(); }, fastRestoreTreeStructure : function TSTBrowser_fastRestoreTreeStructure()