diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 4324c336..01a79a8f 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -953,7 +953,7 @@ TreeStyleTabBrowser.prototype = { _ensureNewSplitter : function() { - var splitter = document.getAnonymousElementByAttribute(b, 'class', this.kSPLITTER); + var splitter = document.getAnonymousElementByAttribute(this.mTabBrowser, 'class', this.kSPLITTER); // We always have to re-create splitter, because its "collapse" // behavior becomes broken by repositioning of the tab bar.