mini update
This commit is contained in:
parent
30be555616
commit
041b6a2634
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue