mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Improved magic and staleness indicator animations
This commit is contained in:
parent
541e4ff8cd
commit
33b2fd8d69
7 changed files with 37 additions and 25 deletions
|
@ -355,9 +355,7 @@ ${navigator.userAgent}
|
|||
*/
|
||||
showStaleIndicator() {
|
||||
const staleIndicator = document.getElementById("stale-indicator");
|
||||
|
||||
staleIndicator.style.visibility = "visible";
|
||||
staleIndicator.style.opacity = 1;
|
||||
staleIndicator.classList.remove("hidden");
|
||||
}
|
||||
|
||||
|
||||
|
@ -367,9 +365,7 @@ ${navigator.userAgent}
|
|||
*/
|
||||
hideStaleIndicator() {
|
||||
const staleIndicator = document.getElementById("stale-indicator");
|
||||
|
||||
staleIndicator.style.opacity = 0;
|
||||
staleIndicator.style.visibility = "hidden";
|
||||
staleIndicator.classList.add("hidden");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue