mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 13:17:31 +08:00
iOS autocomplete bug fix - don't follow link to #
This commit is contained in:
parent
09e53c72d4
commit
10c12d05b3
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user