Remove obsolete compatibility codes for Hide Caption Titlebar Plus
https://addons.mozilla.org/firefox/addon/hide-caption-titlebar-plus-sma/ Now it seems to work with TST together, without any hack.
This commit is contained in:
parent
85ca3bd88f
commit
e25129166d
@ -100,19 +100,6 @@ TreeStyleTabWindowHelper.overrideExtensionsPreInit = function TSTWH_overrideExte
|
|||||||
sv.registerExpandTwistyAreaBlocker('tooManyTabs');
|
sv.registerExpandTwistyAreaBlocker('tooManyTabs');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Hide Caption Titlebar Plus (Smart)
|
|
||||||
* https://addons.mozilla.org/firefox/addon/hide-caption-titlebar-plus-sma/
|
|
||||||
*/
|
|
||||||
if ('HideCaption' in window &&
|
|
||||||
'do_alter' in HideCaption) {
|
|
||||||
eval('HideCaption.do_alter = '+HideCaption.do_alter.toSource().replace(
|
|
||||||
'if (!theSettings) {',
|
|
||||||
' if (!theSettings ||\n' +
|
|
||||||
' gBrowser.treeStyleTab.isVertical) {'
|
|
||||||
));
|
|
||||||
}
|
|
||||||
|
|
||||||
// Greasemonkey
|
// Greasemonkey
|
||||||
// https://addons.mozilla.org/firefox/addon/greasemonkey/
|
// https://addons.mozilla.org/firefox/addon/greasemonkey/
|
||||||
if (TreeStyleTabUtils.getTreePref('compatibility.Greasemonkey')) {
|
if (TreeStyleTabUtils.getTreePref('compatibility.Greasemonkey')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user