mirror of
https://github.com/hexahigh/games.git
synced 2025-12-11 20:15:38 +01:00
update
This commit is contained in:
parent
1ed728546f
commit
79da149a08
@ -75,7 +75,7 @@ const fx = new TextScramble(el);
|
|||||||
let counter = 0;
|
let counter = 0;
|
||||||
const next = () => {
|
const next = () => {
|
||||||
fx.setText(phrases[counter]).then(() => {
|
fx.setText(phrases[counter]).then(() => {
|
||||||
setTimeout(next, 800);
|
setTimeout(next, 1600);
|
||||||
});
|
});
|
||||||
counter = (counter + 1) % phrases.length;
|
counter = (counter + 1) % phrases.length;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user