diff --git a/modules/browser.js b/modules/browser.js index 4db0a282..9bbf9240 100644 --- a/modules/browser.js +++ b/modules/browser.js @@ -4773,7 +4773,7 @@ TreeStyleTabBrowser.prototype = { if (!tabs.length) return; var self = this; - tabs.sort(function(aA, aB) { return Number(aA.getAttribute(self.kNEST)) - Number(aB.setAttribute(self.kNEST)); }); + tabs.sort(function(aA, aB) { return Number(aA.getAttribute(self.kNEST)) - Number(aB.getAttribute(self.kNEST)); }); var nest = tabs[tabs.length-1].getAttribute(this.kNEST); if (this.maxTreeLevel > -1) nest = Math.min(nest, this.maxTreeLevel);