Fixed a bug where existing tags weren't being filtered from suggestions
This commit is contained in:
parent
402980a304
commit
5d0ccee041
@ -190,7 +190,7 @@ function suggest(input, type) {
|
|||||||
case 'tag':
|
case 'tag':
|
||||||
var taglist = document.querySelectorAll('#tags .tag > input')
|
var taglist = document.querySelectorAll('#tags .tag > input')
|
||||||
for(var i = 0; i < taglist.length; i++) {
|
for(var i = 0; i < taglist.length; i++) {
|
||||||
var tag = taglist[i].name
|
var tag = taglist[i].value
|
||||||
existing.push(tag.toLowerCase())
|
existing.push(tag.toLowerCase())
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user