mini update

This commit is contained in:
Aliberk Sandıkçı 2024-01-08 17:45:50 +03:00
parent 30be555616
commit 041b6a2634
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1

View file

@ -223,7 +223,7 @@
const td_text = document.createTextNode(indata[key][1]); const td_text = document.createTextNode(indata[key][1]);
if (key != "isim_soyisim") { if (key != "isim_soyisim") {
if (i == gj["Guesses"].length - 1) { if (i == gj["Guesses"].length - 1 && flagSame == 0) {
td.classList.add("latest-guess"); td.classList.add("latest-guess");
} }
switch (indata[key][0]) { switch (indata[key][0]) {
@ -262,8 +262,8 @@
async function delayeffect() { async function delayeffect() {
for (let i = 0; i < lat.length; i++) { for (let i = 0; i < lat.length; i++) {
const element = lat[i]; const element = lat[i];
element.classList.toggle('fade');
await delay(750); await delay(750);
element.classList.toggle('fade');
} }
} }
delayeffect(); delayeffect();