Strip trailing whitespace everywhere

This commit is contained in:
Owen
2022-03-09 08:40:00 +01:00
parent 3fc9389c57
commit 322187ced9
9 changed files with 47 additions and 47 deletions

View File

@ -350,7 +350,7 @@ const uint8_t index_ov2640_html[] = R"=====(<!doctype html>
} else if(el.id === "awb_gain"){
value ? show(wb) : hide(wb)
} else if(el.id === "lamp"){
if (value == -1) {
if (value == -1) {
hide(lampGroup)
hide(autolampGroup)
} else {
@ -378,7 +378,7 @@ const uint8_t index_ov2640_html[] = R"=====(<!doctype html>
show(streamGroup)
console.log('Stream URL set to: ' + streamURL);
console.log('Stream Viewer URL set to: ' + viewerURL);
}
}
}
}
@ -488,7 +488,7 @@ const uint8_t index_ov2640_html[] = R"=====(<!doctype html>
}
// Attach actions to controls
streamLink.onclick = () => {
stopStream();
window.open(viewerURL, "_blank");
@ -579,7 +579,7 @@ const uint8_t index_ov2640_html[] = R"=====(<!doctype html>
swapButton.onclick = () => {
window.open('/?view=simple','_self');
}
savePrefsButton.onclick = () => {
if (confirm("Save the current preferences?")) {
updateConfig(savePrefsButton);