Skip to content

Commit

Permalink
Updated the plugin to version 1.1, contains many fixes suggested in c…
Browse files Browse the repository at this point in the history
…omments, thanks guys\!
  • Loading branch information
loopj committed Jul 12, 2009
1 parent 9f47c75 commit 2966053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jquery.tokeninput.js
Expand Up @@ -547,7 +547,7 @@ $.TokenList = function (input, settings) {
} else {
var queryStringDelimiter = settings.url.indexOf("?") < 0 ? "?" : "&";
var callback = function(results) {
if($.isFunction(settings.onResult) {
if($.isFunction(settings.onResult)) {
results = settings.onResult.call(this, results);
}
cache.add(query, settings.jsonContainer ? results[settings.jsonContainer] : results);
Expand Down

0 comments on commit 2966053

Please sign in to comment.