Compare commits
No commits in common. "3ec9af38e00bf81f97e90b2731632d6131f9954b" and "e03e48d08ffcd76b3911ba9a22958f4b204d4597" have entirely different histories.
3ec9af38e0
...
e03e48d08f
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{# Template #}
|
{# Template #}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Empede</title>
|
<title>Empede</title>
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
|
|
||||||
progressInterval = window.setInterval(() => {
|
progressInterval = window.setInterval(() => {
|
||||||
elapsed += 1.0;
|
elapsed += 1.0;
|
||||||
let progress = Math.min(elapsed / duration, 1.0);
|
let progress = elapsed / duration;
|
||||||
progressBar.style.width = `${progress * 100}%`;
|
progressBar.style.width = `${progress * 100}%`;
|
||||||
}, 1000);
|
}, 1000);
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue