@@ -146,7 +146,6 @@ include '../text_functions.php'; | |||
const collection = document.getElementsByClassName("search_term"); | |||
for (let i = 0; i < collection.length; i++) { | |||
let text = collection[i].textContent; | |||
console.log(collection[i]); | |||
upperText = text.toUpperCase(); | |||
result = "<span style='color:orange'>" + upperText + "</span>"; | |||
collection[i].innerHTML = result; |