From 1f39a922d1bfd0da2dfb1c914a263a47469b106b Mon Sep 17 00:00:00 2001 From: j433866 Date: Tue, 30 Apr 2019 12:58:29 +0100 Subject: [PATCH] Reset bake button background when state changed --- src/web/ControlsWaiter.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/web/ControlsWaiter.mjs b/src/web/ControlsWaiter.mjs index c4c1d55a..52c156de 100755 --- a/src/web/ControlsWaiter.mjs +++ b/src/web/ControlsWaiter.mjs @@ -378,6 +378,8 @@ ${navigator.userAgent} const bakeButton = document.getElementById("bake"), btnText = bakeButton.querySelector("span"); + bakeButton.style.background = ""; + if (cancel) { btnText.innerText = "Cancel"; bakeButton.classList.remove("btn-success");