iOS autocomplete bug fix - don't follow link to #

This commit is contained in:
Robin Ward 2013-02-11 12:48:34 -05:00
parent 09e53c72d4
commit 10c12d05b3
1 changed files with 2 additions and 0 deletions

View File

@ -84,9 +84,11 @@
ul = div.find('ul')
selectedOption = 0
markSelected()
ul.find('li').click ->
selectedOption = ul.find('li').index(this)
completeTerm(autocompleteOptions[selectedOption])
false
pos = null
if isInput