aboutsummaryrefslogtreecommitdiff
path: root/data/assets/js/search-field.js
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-05-24 13:30:11 -0400
committerPaul Duncan <pabs@pablotron.org>2016-05-24 13:30:11 -0400
commitc1c4c03d394e8701cfd4640d8571afacc83d2ba2 (patch)
tree0090f2fbc06dd3950919565057c4c57dd2aba222 /data/assets/js/search-field.js
parentbca20f7c94e74f0d7666700829d50efbf70d129c (diff)
downloadguff-c1c4c03d394e8701cfd4640d8571afacc83d2ba2.tar.bz2
guff-c1c4c03d394e8701cfd4640d8571afacc83d2ba2.zip
enable post list
Diffstat (limited to 'data/assets/js/search-field.js')
-rw-r--r--data/assets/js/search-field.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/assets/js/search-field.js b/data/assets/js/search-field.js
index 76ff69f..3d6c494 100644
--- a/data/assets/js/search-field.js
+++ b/data/assets/js/search-field.js
@@ -61,10 +61,10 @@ jQuery(function($) {
if (trigger == 'delay') {
clear_delay(me);
- setTimeout(function() {
+ me.data('search-interval', setTimeout(function() {
clear_delay(me);
trigger_search(me, me.val());
- }, me.data('search-delay') || 100);
+ }, me.data('search-delay') || 300));
} else if (trigger == 'enter') {
if (ev.which == 13) {
setTimeout(function() {