Put closebox in each tab rightside

This commit is contained in:
YUKI Hiroshi 2016-02-12 16:15:37 +09:00
parent 12757cf2c3
commit 75050af492

View File

@ -1260,7 +1260,7 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
if (this.mTabBrowser.getAttribute(this.kCLOSEBOX_INVERTED) == 'true') if (this.mTabBrowser.getAttribute(this.kCLOSEBOX_INVERTED) == 'true')
nodes.splice(nodes.indexOf(aNamedNodes.closeAnchor), 0, aNamedNodes.close); nodes.splice(nodes.indexOf(aNamedNodes.closeAnchor), 0, aNamedNodes.close);
else else
nodes.splice(nodes.indexOf(aNamedNodes.closeAnchor)+1, 0, aNamedNodes.close); nodes.push(aNamedNodes.close);
} }
index = nodes.indexOf(aNamedNodes.sound); index = nodes.indexOf(aNamedNodes.sound);