From 4fe157dec212124957908ff830cce7159d77f9ee Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Wed, 21 Aug 2013 13:08:56 +0900 Subject: [PATCH] Detect temporary group tabs ignoring session history --- modules/base.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/base.js b/modules/base.js index e0d979a0..8602362e 100644 --- a/modules/base.js +++ b/modules/base.js @@ -2197,10 +2197,10 @@ var TreeStyleTabBase = { ); }, - isTemporaryGroupTab : function TSTBase_isTemporaryGroupTab(aTab, aLazyCheck) + isTemporaryGroupTab : function TSTBase_isTemporaryGroupTab(aTab) { return ( - this.isGroupTab(aTab, aLazyCheck) && + this.isGroupTab(aTab, true) && /.*[\?&;]temporary=(?:1|yes|true)/i.test(aTab.linkedBrowser.currentURI.spec) ); },