インデント調整

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7242 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-09-16 10:48:19 +00:00
parent 2e393aa333
commit 33067b8bbd

View File

@ -2554,8 +2554,10 @@ TreeStyleTabBrowser.prototype = {
var parent = this.getParentTab(aTab);
if (parent && aTab.hidden != parent.hidden) {
this.collapseExpandTab(aTab, false, true);
let target = parent.hidden && aChangedTabs.indexOf(parent) > -1 ?
parent : aTab ;
let target = (
parent.hidden &&
aChangedTabs.indexOf(parent) > -1
) ? parent : aTab ;
this.partAllChildren(target, {
behavior : parent ?
this.getTreePref('closeParentBehavior') :