diff --git a/html/app.js b/html/app.js index 626e522c..528cae21 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 21b7d17f..6e8c782a 100644 --- a/html/index.html +++ b/html/index.html @@ -216,7 +216,7 @@ button.danger{background:var(--bad);color:#fff;border-color:transparent} unsaved changes - +