Skip to content

Commit

Permalink
Add delay (350) to typeahead search (#4182)
Browse files Browse the repository at this point in the history
  • Loading branch information
wanzulfikri authored and jywarren committed Dec 10, 2018
1 parent 7578b34 commit 577fd9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/restful_typeahead.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ $(function() {
var typeahead = $(el).typeahead({
items: 10,
minLength: 3,
delay: 350,
showCategoryHeader: true,
autoSelect: false,
source: function (query, process) {
Expand Down

0 comments on commit 577fd9a

Please sign in to comment.