aboutsummaryrefslogtreecommitdiffstats
path: root/migemized_find.js
diff options
context:
space:
mode:
Diffstat (limited to 'migemized_find.js')
-rw-r--r--migemized_find.js3
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())