diff --git a/html/app.js b/html/app.js index e8bdb8f4..b83914ed 100644 --- a/html/app.js +++ b/html/app.js @@ -836,6 +836,7 @@ function isConfCmd(line){ function setDirty(d){ S.dirty=d; $("dirty").classList.toggle("show",d); + $("saveBtn").classList.toggle("pri",d); } function postCmd(cmd,quiet){ return api("/cmd",{method:"POST",body:cmd}).then(function(r){ diff --git a/html/index.html b/html/index.html index bb8e9e6f..43a3fe54 100644 --- a/html/index.html +++ b/html/index.html @@ -224,7 +224,7 @@ button.danger{background:var(--bad);color:#fff;border-color:transparent}
unsaved changes - +