assets/js/wordfinder-home.js in word-games-theme-3.1.9 vs assets/js/wordfinder-home.js in word-games-theme-3.2.1
- old
+ new
@@ -108,11 +108,10 @@
}, 100);
tooltipElement.style.setProperty('--tooltip-padding', '0.5rem');
tooltipElement.style.setProperty('--tooltip-border-style', 'soild');
})
})
-
sortup.addEventListener("click", () => {
if (bool) {
theSelect.size = 0;
bool = false;
theSelect.style.display = "none";
@@ -367,10 +366,10 @@
}
worker.postMessage({
type: "api",
serachValue: serachValue,
selectedDictionary: selectedDictionary,
- endpoint: `/.netlify/functions`
+ endpoint: `http://127.0.0.1:9000`
});
worker.onmessage = (event) => {
main.innerHTML = "";
serachBtn.style.background = 'url(/assets/images/search.svg) no-repeat center center';
getWords(serachValue, event.data.data);
\ No newline at end of file