mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
iOS autocomplete bug fix - don't follow link to #
This commit is contained in:
parent
09e53c72d4
commit
10c12d05b3
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue