Fix tag suggestions.
This commit is contained in:
parent
6a7defcdc9
commit
17859b70e9
@ -189,9 +189,9 @@ class PhotoPage extends SubTemplate
|
||||
};
|
||||
|
||||
var tagRemovalTargets = document.getElementsByClassName("delete-tag");
|
||||
Array.forEach(tagRemovalTargets, function(el) {
|
||||
el.addEventListener("click", removeTag);
|
||||
});
|
||||
for (var i = 0; i < tagRemovalTargets.length; i++) {
|
||||
tagRemovalTargets[i].addEventListener("click", removeTag);
|
||||
}
|
||||
|
||||
var tag_autosuggest = new TagAutoSuggest({
|
||||
inputElement: "new_tag",
|
||||
|
Loading…
Reference in New Issue
Block a user