extensions.treestyletab.tabbar.togglerSizeが0以下の時はtoggler自体を表示しない
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4189 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
ca8bd546f9
commit
67adbabf31
@ -1125,6 +1125,10 @@ TreeStyleTabBrowser.prototype = {
|
||||
this.togglerSize = value;
|
||||
var toggler = document.getAnonymousElementByAttribute(b, 'class', this.kTABBAR_TOGGLER);
|
||||
toggler.style.minWidth = toggler.style.minHeight = value+'px';
|
||||
if (this.togglerSize <= 0)
|
||||
toggler.setAttribute('collapsed', true);
|
||||
else
|
||||
toggler.removeAttribute('collapsed');
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user