mirror of
https://github.com/easytarget/esp32-cam-webserver.git
synced 2024-02-16 18:18:24 +08:00
Strip trailing whitespace everywhere
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user