diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 184f4d16..0b219bea 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -140,6 +140,7 @@ TreeStyleTabBrowser.prototype = { isTabInViewport : function TSTBrowser_isTabInViewport(aTab) { if (!aTab) return false; + if (aTab.pinned) return true; var tabBox = aTab.boxObject; var barBox = this.scrollBox.boxObject; var xOffset = this.getXOffsetOfTab(aTab);