mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 23:06:16 -04:00
Reset bake button background when state changed
This commit is contained in:
parent
145fba5949
commit
1f39a922d1
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue