fixed jQuery dprecations
This commit is contained in:
4
dist/inputs-ext/typeaheadjs/lib/typeahead.js
vendored
4
dist/inputs-ext/typeaheadjs/lib/typeahead.js
vendored
@@ -124,10 +124,10 @@
|
||||
};
|
||||
},
|
||||
tokenizeQuery: function(str) {
|
||||
return $.trim(str).toLowerCase().split(/[\s]+/);
|
||||
return str.trim().toLowerCase().split(/[\s]+/);
|
||||
},
|
||||
tokenizeText: function(str) {
|
||||
return $.trim(str).toLowerCase().split(/[\s\-_]+/);
|
||||
return str.trim().toLowerCase().split(/[\s\-_]+/);
|
||||
},
|
||||
getProtocol: function() {
|
||||
return location.protocol;
|
||||
|
Reference in New Issue
Block a user