Fixed a bug where existing tags weren't being filtered from suggestions

This commit is contained in:
Erik Thuning 2019-06-12 11:44:12 +02:00
parent 402980a304
commit 5d0ccee041

@ -190,7 +190,7 @@ function suggest(input, type) {
case 'tag':
var taglist = document.querySelectorAll('#tags .tag > input')
for(var i = 0; i < taglist.length; i++) {
var tag = taglist[i].name
var tag = taglist[i].value
existing.push(tag.toLowerCase())
}
break