mirror of
https://github.com/arendst/Tasmota.git
synced 2025-08-10 11:27:42 +00:00
Update xdrv_01_webserver.ino
Oneliner - more free bytes
This commit is contained in:
@@ -62,12 +62,7 @@ const char HTTP_HEAD[] PROGMEM =
|
|||||||
"return document.querySelector(s);"
|
"return document.querySelector(s);"
|
||||||
"}"
|
"}"
|
||||||
"function sp(i){" // Toggle password visibility
|
"function sp(i){" // Toggle password visibility
|
||||||
"var x=eb(i);"
|
"eb(i).type=(eb(i).type==='text'?'password':'text');"
|
||||||
"if(x.type==='text'){"
|
|
||||||
"x.type='password';"
|
|
||||||
"}else{"
|
|
||||||
"x.type='text';"
|
|
||||||
"}"
|
|
||||||
"}"
|
"}"
|
||||||
// https://www.htmlgoodies.com/beyond/javascript/article.php/3724571/Using-Multiple-JavaScript-Onload-Functions.htm
|
// https://www.htmlgoodies.com/beyond/javascript/article.php/3724571/Using-Multiple-JavaScript-Onload-Functions.htm
|
||||||
"function wl(f){" // Execute multiple window.onload
|
"function wl(f){" // Execute multiple window.onload
|
||||||
|
Reference in New Issue
Block a user