mirror of
https://github.com/gchq/CyberChef
synced 2025-12-10 13:23:25 +00:00
Reset bake button background when state changed
This commit is contained in:
@@ -378,6 +378,8 @@ ${navigator.userAgent}
|
|||||||
const bakeButton = document.getElementById("bake"),
|
const bakeButton = document.getElementById("bake"),
|
||||||
btnText = bakeButton.querySelector("span");
|
btnText = bakeButton.querySelector("span");
|
||||||
|
|
||||||
|
bakeButton.style.background = "";
|
||||||
|
|
||||||
if (cancel) {
|
if (cancel) {
|
||||||
btnText.innerText = "Cancel";
|
btnText.innerText = "Cancel";
|
||||||
bakeButton.classList.remove("btn-success");
|
bakeButton.classList.remove("btn-success");
|
||||||
|
|||||||
Reference in New Issue
Block a user