mirror of
https://github.com/ivabus/www
synced 2024-11-22 14:35:06 +03:00
Last animation adjustment
This commit is contained in:
parent
0efa2e5dcd
commit
153d0f2581
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@
|
|||
commandOutput4 += char;
|
||||
command4.input = command4.input.slice(1);
|
||||
document.querySelector('#terminal-output-4').innerHTML = commandOutput4;
|
||||
setTimeout(typeCommand4, 80);
|
||||
const delay = Math.floor(Math.random() * 100) + 50; // random delay between 50 and 150 ms
|
||||
setTimeout(typeCommand4, delay);
|
||||
}
|
||||
|
||||
const terminalOutput4 = document.querySelector('#terminal-output-4');
|
||||
|
|
Loading…
Reference in a new issue