mirror of
https://github.com/ivabus/www
synced 2024-11-10 05:55:15 +03:00
Next animation adjustment
This commit is contained in:
parent
b5f27604d0
commit
0efa2e5dcd
|
@ -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