diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 3cf321f8..7757ef28 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -2165,7 +2165,7 @@ TreeStyleTabBrowser.prototype = { indexes.push(aIndex); }, this); - var count = aId.split('::')[1]; + var count = parseInt(aId.split('::')[1]); if ( !indexes.length ||