assets/js/xletter-home.js in word-games-theme-2.7.6 vs assets/js/xletter-home.js in word-games-theme-2.7.7

- old
+ new

@@ -110,10 +110,11 @@ }); }; const formElement = document.querySelector("#form"); formElement.addEventListener("submit", function (e) { e.preventDefault(); - + var scriptElement = document.getElementById("get-value"); + scriptElement.parentNode.removeChild(scriptElement); if (txtBox.value != "" || startsWith.value != "" || endsWith.value != "" || mustInclude.value != "" || exculdeWith.value != "" || inculdeWith.value != "" || wordLength.value != "") { document.querySelector(".fillterWrapper").classList.add("hide") let selectedDictionary = document.querySelector(".select_dropDown2").value; if (history.pushState) { var newurl =