mirror of
https://github.com/ivabus/www
synced 2024-11-22 08:05:10 +03:00
Next animation adjustment
This commit is contained in:
parent
b5f27604d0
commit
0efa2e5dcd
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
|||
document.querySelector('#terminal-output-3').innerHTML = commandOutput3;
|
||||
commandIndex3++;
|
||||
command3 = commands3[commandIndex3];
|
||||
setTimeout(typeCommand3, 1000);
|
||||
setTimeout(typeCommand3, 1500);
|
||||
return;
|
||||
}
|
||||
let char = command3.input[0];
|
||||
|
@ -34,7 +34,7 @@
|
|||
commandOutput3 += char;
|
||||
command3.input = command3.input.slice(1);
|
||||
document.querySelector('#terminal-output-3').innerHTML = commandOutput3;
|
||||
setTimeout(typeCommand3, 80);
|
||||
setTimeout(typeCommand3, Math.floor(Math.random() * (150 - 70) + 70));
|
||||
}
|
||||
|
||||
const terminalOutput = document.querySelector('#terminal-output-3');
|
||||
|
|
Loading…
Reference in a new issue