Skip to content

Commit

Permalink
1.3.6 - improve $search performance
Browse files Browse the repository at this point in the history
earthchie committed Apr 16, 2017
1 parent 0fbb257 commit a065ae0
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 3 additions & 2 deletions jquery.Thailand.js/dist/jquery.Thailand.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions jquery.Thailand.js/src/jquery.Thailand.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @name jquery.Thailand.js
* @version 1.3.5
* @version 1.3.6
* @update Apr 16, 2017
* @website https://github.com/earthchie/jquery.Thailand.js
* @license WTFPL v.2 - http://www.wtfpl.net/
@@ -250,7 +250,11 @@ $.Thailand = function (options) {
}

if (options.$search) {
options.$search.typeahead(typehead_options, {
options.$search.typeahead({
hint: true,
highlight: true,
minLength: 2
}, {
limit: options.autocomplete_size,
templates: templates,
source: function (str, callback) {

0 comments on commit a065ae0

Please sign in to comment.