diff options
author | hogelog | 2008-09-23 00:46:34 +0000 |
---|---|---|
committer | hogelog | 2008-09-23 00:46:34 +0000 |
commit | 24d3d91c5feed2ced11967094903daf70fb2ee78 (patch) | |
tree | cbd8461cbb8442adff1441868d487af8cc4c930a /migemized_find.js | |
parent | 05de0546f98b1184f71beaeae186cc1cb00fa602 (diff) | |
download | vimperator-plugins-24d3d91c5feed2ced11967094903daf70fb2ee78.tar.bz2 |
前のタイマー削除に失敗するバグの修正
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@19751 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'migemized_find.js')
-rw-r--r-- | migemized_find.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/migemized_find.js b/migemized_find.js index 008afea..505ad98 100644 --- a/migemized_find.js +++ b/migemized_find.js @@ -270,7 +270,6 @@ // 短時間に何回も検索をしないように遅延させる delayedFunc = function () MF.findFirst(str, backwards); if (delayCallTimer) { - delayCallTimer = null; clearTimeout(delayCallTimer); } delayCallTimer = setTimeout(function () delayedFunc(), 300); @@ -283,8 +282,8 @@ searchSubmitted: function searchSubmitted (command, forcedBackward) { if (delayCallTimer) { - delayCallTimer = null; clearTimeout(delayCallTimer); + delayCallTimer = null; delayedFunc(); } if (!MF.submit()) |