From a7c9d2b80ab2b803efc885d65478310026845875 Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Tue, 7 May 2013 16:25:07 +0900 Subject: [PATCH] Fix wrong use of RestoringTabsData.get() --- content/treestyletab/res/tabsDragUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/treestyletab/res/tabsDragUtils.js b/content/treestyletab/res/tabsDragUtils.js index dca644ea..9750912f 100644 --- a/content/treestyletab/res/tabsDragUtils.js +++ b/content/treestyletab/res/tabsDragUtils.js @@ -809,7 +809,7 @@ if (aTab.linkedBrowser.__SS_restoreState == 1) { let data = aTab.linkedBrowser.__SS_data; if (!data && this.SessionStoreNS.RestoringTabsData) // Firefox 23- - data = this.SessionStoreNS.RestoringTabsData.get(aTab); + data = this.SessionStoreNS.RestoringTabsData.get(aTab.linkedBrowser); let entry = data.entries[Math.min(data.index, data.entries.length-1)]; if (entry) return entry.url; }