fix typo
This commit is contained in:
parent
828e6e48f9
commit
46326d4997
@ -4773,7 +4773,7 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
if (!tabs.length) return;
|
if (!tabs.length) return;
|
||||||
|
|
||||||
var self = this;
|
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);
|
var nest = tabs[tabs.length-1].getAttribute(this.kNEST);
|
||||||
if (this.maxTreeLevel > -1)
|
if (this.maxTreeLevel > -1)
|
||||||
nest = Math.min(nest, this.maxTreeLevel);
|
nest = Math.min(nest, this.maxTreeLevel);
|
||||||
|
Loading…
Reference in New Issue
Block a user