キーボードショートカットを使った後にタブバーが表示されてしまう問題を修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@2057 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2008-03-11 04:16:55 +00:00
parent 8dd33b0d51
commit beb5043222

View File

@ -1265,7 +1265,8 @@ catch(e) {
this.accelKeyPressed
) {
if (this.getTreePref('tabbar.autoShow.accelKeyDown') &&
!sv.tabbarShown) {
!sv.tabbarShown &&
!this.delayedAutoShowTimer) {
this.delayedAutoShowTimer = window.setTimeout(
function(aSelf) {
aSelf.delayedAutoShowDone = true;
@ -1284,7 +1285,7 @@ catch(e) {
cancelDelayedAutoShow : function()
{
if (this.delayedAutoShowTimer) {
window.clearInterval(this.delayedAutoShowTimer);
window.clearTimeout(this.delayedAutoShowTimer);
this.delayedAutoShowTimer = null;
}
},