diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index e55cc3d5..493535ed 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -1793,7 +1793,11 @@ var TreeStyleTabService = { var owner = aTab.linkedBrowser; var data = owner.__SS_data || // Firefox 3.6- owner.parentNode.__SS_data; // -Firefox 3.5 - return data && data._tabStillLoading; + return ( + data && + data._tabStillLoading && + !aTab.hasAttribute('ontap') // if BarTab is installed, to-be-restored tab possibly has the value unexpectedly. + ); }).length; },