Skip to content

Commit

Permalink
Make comparison case-insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeese committed Mar 2, 2015
1 parent f0f77a9 commit 083d540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/autocomplete.js.coffee
Expand Up @@ -50,7 +50,7 @@
target.val ""
else
matches = $.grep(mySource.index.datums, (e) ->
e.display == typed
e.display.toLowerCase() is typed.toLowerCase()
)
if matches.length > 0
target.val matches[0].id
Expand Down

0 comments on commit 083d540

Please sign in to comment.