remove needless codes and images for Firefox 3.0
This commit is contained in:
parent
f07699844d
commit
17c7a08ec9
@ -54,16 +54,6 @@ function initAppearancePane()
|
|||||||
{
|
{
|
||||||
onChangeTabbarPosition();
|
onChangeTabbarPosition();
|
||||||
|
|
||||||
var mixed = document.getElementById('extensions.treestyletab.tabbar.style-mixed');
|
|
||||||
if (comparator.compare(XULAppInfo.version, '3.5') >= 0) {
|
|
||||||
mixed.removeAttribute('disabled');
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
if (mixed.checked)
|
|
||||||
document.getElementById('extensions.treestyletab.tabbar.style-flat').checked = true;
|
|
||||||
mixed.setAttribute('disabled', true);
|
|
||||||
}
|
|
||||||
|
|
||||||
var sidebar = document.getElementById('extensions.treestyletab.tabbar.style-sidebar');
|
var sidebar = document.getElementById('extensions.treestyletab.tabbar.style-sidebar');
|
||||||
if (comparator.compare(XULAppInfo.version, '3.6') >= 0) {
|
if (comparator.compare(XULAppInfo.version, '3.6') >= 0) {
|
||||||
sidebar.removeAttribute('disabled');
|
sidebar.removeAttribute('disabled');
|
||||||
@ -338,9 +328,6 @@ function initAutoHidePane()
|
|||||||
gTabbarTransparencyScale = document.getElementById('tabbarTransparency-scale');
|
gTabbarTransparencyScale = document.getElementById('tabbarTransparency-scale');
|
||||||
gTabbarTransparencyLabels = document.getElementById('tabbarTransparency-labels');
|
gTabbarTransparencyLabels = document.getElementById('tabbarTransparency-labels');
|
||||||
|
|
||||||
// for Firefox 3.0.x
|
|
||||||
gTabbarTransparencyScale.value = document.getElementById('extensions.treestyletab.tabbar.transparent.style').value;
|
|
||||||
|
|
||||||
updateAutoHideModeLabel();
|
updateAutoHideModeLabel();
|
||||||
onTabbarTransparencyScaleChange();
|
onTabbarTransparencyScaleChange();
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 190 B |
Binary file not shown.
Before Width: | Height: | Size: 254 B |
Binary file not shown.
Before Width: | Height: | Size: 191 B |
Binary file not shown.
Before Width: | Height: | Size: 251 B |
Loading…
Reference in New Issue
Block a user