From beb504322276a59edc88dd9b41272c9fc8c00e2c Mon Sep 17 00:00:00 2001 From: piro Date: Tue, 11 Mar 2008 04:16:55 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=AD=E3=83=BC=E3=83=9C=E3=83=BC=E3=83=89?= =?UTF-8?q?=E3=82=B7=E3=83=A7=E3=83=BC=E3=83=88=E3=82=AB=E3=83=83=E3=83=88?= =?UTF-8?q?=E3=82=92=E4=BD=BF=E3=81=A3=E3=81=9F=E5=BE=8C=E3=81=AB=E3=82=BF?= =?UTF-8?q?=E3=83=96=E3=83=90=E3=83=BC=E3=81=8C=E8=A1=A8=E7=A4=BA=E3=81=95?= =?UTF-8?q?=E3=82=8C=E3=81=A6=E3=81=97=E3=81=BE=E3=81=86=E5=95=8F=E9=A1=8C?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@2057 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletab.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index d351b0c3..8ddac14e 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -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; } },