This commit is contained in:
Piro / SHIMODA Hiroshi 2011-12-07 21:33:57 +09:00
parent 828e6e48f9
commit 46326d4997

View File

@ -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);