Created
October 14, 2011 06:04
-
-
Save bootleq/1286366 to your computer and use it in GitHub Desktop.
ToggleTreeStyleTab for keyconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (typeof gBrowser.treeStyleTab !== 'undefined') { | |
var ah = gBrowser.treeStyleTab.autoHide; | |
if (ah.expanded) { | |
ah.hide(ah.kSHOWN_BY_SHORTCUT); | |
} else { | |
ah.show(ah.kSHOWN_BY_SHORTCUT); | |
} | |
} | |
// issue: wrong splitter position when auto hide is not enabled. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment