mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix word list display on page load
Whoopsie
This commit is contained in:
parent
cb6e034f30
commit
2599658321
@ -159,8 +159,8 @@
|
||||
});
|
||||
|
||||
function populateWords() {
|
||||
for (let i = 0; i < words.length; i++) {
|
||||
let safe_word = sanitize(words[i]);
|
||||
words.map(word => {
|
||||
let safe_word = sanitize(word);
|
||||
|
||||
$("#ignored-words").append(
|
||||
`<li id=${safe_word.replaceAll(" ", "-")}>` +
|
||||
@ -168,7 +168,7 @@
|
||||
`${word} <button class='btn btn-danger' onclick='deleteItem("${word}")' >` +
|
||||
"<i class='fas fa-trash'></i></button></div></li>"
|
||||
);
|
||||
}
|
||||
});
|
||||
}
|
||||
// ##### End Log Filter Block #####
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user