Tabs on Topにチェックを入れた時に、タブバーの固定状態だけが設定変更されてTabs on Topが有効にならずに終わってしまう問題を修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6810 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-07-02 09:47:52 +00:00
parent 31094094f9
commit 2c183f4055

View File

@ -1277,8 +1277,10 @@ TreeStyleTabBrowser.prototype = {
return;
window.setTimeout(function(aTabBrowser) {
TreeStyleTabService.toggleFixed(aTabBrowser);
if (TabsOnTop.enabled != aEnabled)
TabsOnTop.enabled = aEnabled;
window.setTimeout(function() {
if (TabsOnTop.enabled != aEnabled)
TabsOnTop.enabled = aEnabled;
}, 0);
}, 0, this.mTabBrowser);
},