mirror of
https://github.com/ivabus/www
synced 2024-11-22 19:45:06 +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;
|
document.querySelector('#terminal-output-3').innerHTML = commandOutput3;
|
||||||
commandIndex3++;
|
commandIndex3++;
|
||||||
command3 = commands3[commandIndex3];
|
command3 = commands3[commandIndex3];
|
||||||
setTimeout(typeCommand3, 1000);
|
setTimeout(typeCommand3, 1500);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let char = command3.input[0];
|
let char = command3.input[0];
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
commandOutput3 += char;
|
commandOutput3 += char;
|
||||||
command3.input = command3.input.slice(1);
|
command3.input = command3.input.slice(1);
|
||||||
document.querySelector('#terminal-output-3').innerHTML = commandOutput3;
|
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');
|
const terminalOutput = document.querySelector('#terminal-output-3');
|
||||||
|
|
Loading…
Reference in a new issue