mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
iOS autocomplete bug fix - don't follow link to #
This commit is contained in:
@@ -84,9 +84,11 @@
|
|||||||
ul = div.find('ul')
|
ul = div.find('ul')
|
||||||
selectedOption = 0
|
selectedOption = 0
|
||||||
markSelected()
|
markSelected()
|
||||||
|
|
||||||
ul.find('li').click ->
|
ul.find('li').click ->
|
||||||
selectedOption = ul.find('li').index(this)
|
selectedOption = ul.find('li').index(this)
|
||||||
completeTerm(autocompleteOptions[selectedOption])
|
completeTerm(autocompleteOptions[selectedOption])
|
||||||
|
false
|
||||||
|
|
||||||
pos = null
|
pos = null
|
||||||
if isInput
|
if isInput
|
||||||
|
|||||||
Reference in New Issue
Block a user