From 5ac0b8410e6a7179b088188f65fb637d98e6a2e6 Mon Sep 17 00:00:00 2001 From: piro Date: Fri, 26 Mar 2010 03:32:38 +0000 Subject: [PATCH] cosmetic git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6469 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index dc607520..20dcfb6d 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -87,7 +87,7 @@ TreeStyleTabBrowser.prototype = { }, set tabStripPlaceHolder(value) { - return this._tabStripPlaceHolder = value; + return (this._tabStripPlaceHolder = value); }, /* utils */ @@ -955,8 +955,7 @@ TreeStyleTabBrowser.prototype = { /* in Firefox 3, the width of the rightside tab bar unexpectedly becomes 0 on the startup. so, we have to set the width again. */ - var w = aSelf.getTreePref('tabbar.width'); - aSelf.setTabStripAttribute('width', w); + aSelf.setTabStripAttribute('width', aSelf.getTreePref('tabbar.width')); indicator.setAttribute('ordinal', 1); aSelf.setTabStripAttribute('ordinal', 30); aSplitter.setAttribute('ordinal', 20);