Compare commits

..

No commits in common. "8859827eac9fbc462ae57c74a73147e3edb8b6ce" and "12752341db1ea8896f9d5dd9449a74107656b3be" have entirely different histories.

1 changed files with 1 additions and 7 deletions

View File

@ -61,12 +61,6 @@ function delete_word(theWord) {
} else {
$("#p_" + theWord).remove();
}
// remove highlighting for the word
let highlightedWords = document.querySelectorAll('.highlighted');
for (let x of highlightedWords) {
if (x.innerHTML == word)
x.replaceWith(x.innerHTML);
}
}
});
}