diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 11f17e3c..97c1f481 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -237,8 +237,12 @@ TreeStyleTabBrowser.prototype = { }, positionPinnedTabsWithDelay : function TSTBrowser_positionPinnedTabsWithDelay() { - window.setTimeout(function(aSelf) { + if (this.positionPinnedTabsWithDelayTimer) + return; + + this.positionPinnedTabsWithDelay = window.setTimeout(function(aSelf) { aSelf.positionPinnedTabs(); + aSelf.positionPinnedTabsWithDelay = null; }, 0, this); }, PINNED_TAB_DEFAULT_WIDTH : 24,