Skip to content

Commit

Permalink
Merge pull request #256 from dbambus/main
Browse files Browse the repository at this point in the history
Quickfix for Initial mode setting on Website
  • Loading branch information
dbambus committed May 10, 2023
2 parents 9598d31 + 787bbcd commit 540d328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpage/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ function initWebsocket() {
const inputID = MODE_TO_INPUT_ID.get(prog);
debugMessage("Mode is " + prog + " (" + inputID + ")");

$("#" + inputID).checked = true;
document.getElementById(inputID).checked = true;
setSliders();
setColors();
enableSpecific("specific-colortype-4", data.colortype === 4);
Expand Down

0 comments on commit 540d328

Please sign in to comment.