設定UIの初期化に一部失敗していた
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5060 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
8199968833
commit
4b516b2c75
@ -79,6 +79,8 @@ function initTabPane()
|
||||
'loadLocationBarToChildTab-labels'
|
||||
);
|
||||
|
||||
gLoadLocationBarToChildTabScale.disabled = gLoadLocationBarToNewTabScale.value == 0;
|
||||
|
||||
|
||||
var restrictionKey = 'browser.link.open_newwindow.restriction';
|
||||
var restriction = document.getElementById(restrictionKey);
|
||||
@ -211,6 +213,10 @@ function initAutoHidePane()
|
||||
gAutoHideModeToggle = document.getElementById('extensions.treestyletab.tabbar.autoHide.mode.toggle');
|
||||
gTabbarTransparencyScale = document.getElementById('tabbarTransparency-scale');
|
||||
gTabbarTransparencyLabels = document.getElementById('tabbarTransparency-labels');
|
||||
|
||||
// for Firefox 3.0.x
|
||||
gTabbarTransparencyScale.value = document.getElementById('extensions.treestyletab.tabbar.transparent.style').value;
|
||||
|
||||
updateAutoHideModeLabel();
|
||||
onTabbarTransparencyScaleChange();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user