Minor fixes.

This commit is contained in:
Blaz Kristan 2022-04-24 19:47:55 +02:00
parent 1494bfe855
commit a053e81797
2 changed files with 3 additions and 3 deletions

View File

@ -2275,7 +2275,7 @@ function loadPalettesData(callback = null)
p: palettesData,
vid: lastinfo.vid
}));
redrawPalPrev()
redrawPalPrev();
if (callback) setTimeout(callback, 99);
});
}

View File

@ -75,8 +75,8 @@ void handlePresets(bool force)
//HTTP API commands
const char* httpwin = fdo["win"];
if (httpwin) {
String apireq = "win"; apireq += '&'; // reduce flash string usage
apireq += F("IN&"); // interenal call
String apireq = "win"; // reduce flash string usage
apireq += F("&IN&"); // internal call
apireq += httpwin;
handleSet(nullptr, apireq, false);
setValuesFromFirstSelectedSeg(); // fills legacy values