diff --git a/content/treestyletab/config.js b/content/treestyletab/config.js index ff5e3475..5fe6d51b 100644 --- a/content/treestyletab/config.js +++ b/content/treestyletab/config.js @@ -68,7 +68,7 @@ function onChangeTabbarPosition(aOnChange) var indentCheck = document.getElementById('extensions.treestyletab.enableSubtreeIndent-check'); var collapseCheck = document.getElementById('extensions.treestyletab.allowSubtreeCollapseExpand-check'); - var autoHideCheck = document.getElementById('extensions.treestyletab.tabbar.autoHide.enabled-check'); +// var autoHideCheck = document.getElementById('extensions.treestyletab.tabbar.autoHide.enabled-check'); var hideAllTabsCheck = document.getElementById('extensions.treestyletab.tabbar.hideAlltabsButton-check'); if (aOnChange) { @@ -77,12 +77,12 @@ function onChangeTabbarPosition(aOnChange) } if (pos == 'left' || pos == 'right') { indentCheck.setAttribute('collapsed', true); - autoHideCheck.removeAttribute('collapsed'); +// autoHideCheck.removeAttribute('collapsed'); hideAllTabsCheck.removeAttribute('collapsed'); } else { indentCheck.removeAttribute('collapsed'); - autoHideCheck.setAttribute('collapsed', true); +// autoHideCheck.setAttribute('collapsed', true); hideAllTabsCheck.setAttribute('collapsed', true); } diff --git a/content/treestyletab/config.xul b/content/treestyletab/config.xul index 8d8983a3..9c495356 100644 --- a/content/treestyletab/config.xul +++ b/content/treestyletab/config.xul @@ -99,12 +99,12 @@ label="&config.allowSubtreeCollapseExpand;"/> - + diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index d998be6f..cb0581fd 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -776,9 +776,9 @@ TreeStyleTabBrowser.prototype = { switch (aData) { case 'extensions.treestyletab.tabbar.position': - if (value != 'left' && value != 'right') { - this.endAutoHide(); - } +// if (value != 'left' && value != 'right') { +// this.endAutoHide(); +// } this.initTabbar(); tabs.forEach(function(aTab) { self.initTabAttributes(aTab); @@ -851,7 +851,7 @@ TreeStyleTabBrowser.prototype = { case 'extensions.treestyletab.tabbar.autoHide.enabled': var pos = this.mTabBrowser.getAttribute(this.kTABBAR_POSITION); - if (value && (pos == 'left' || pos == 'right')) + if (value/* && (pos == 'left' || pos == 'right')*/) this.startAutoHide(); else this.endAutoHide(); @@ -1555,8 +1555,8 @@ TreeStyleTabBrowser.prototype = { XPathResult.FIRST_ORDERED_NODE_TYPE ).singleNodeValue; var pos = b.getAttribute(this.kTABBAR_POSITION); - if (this.getTreePref('show.'+this.kMENUITEM_AUTOHIDE) && - (pos == 'left' || pos == 'right')) { + if (this.getTreePref('show.'+this.kMENUITEM_AUTOHIDE)/* && + (pos == 'left' || pos == 'right')*/) { autohide.removeAttribute('hidden'); if (this.getTreePref('tabbar.autoHide.enabled')) autohide.setAttribute('checked', true);