mirror of
https://github.com/gchq/CyberChef
synced 2025-01-22 09:15:03 +00:00
Don't include loading inputs in complete percentage
This commit is contained in:
parent
97c218cb4c
commit
ec4eb22a72
1 changed files with 1 additions and 1 deletions
|
@ -747,7 +747,7 @@ class InputWaiter {
|
|||
|
||||
const inputTitle = document.getElementById("input").firstElementChild;
|
||||
if (loaded < total) {
|
||||
const percentComplete = (loaded + loading) / total * 100;
|
||||
const percentComplete = loaded / total * 100;
|
||||
inputTitle.style.background = `linear-gradient(to right, var(--title-background-colour) ${percentComplete}%, var(--primary-background-colour) ${percentComplete}%)`;
|
||||
} else {
|
||||
inputTitle.style.background = "";
|
||||
|
|
Loading…
Reference in a new issue