Update xdrv_01_webserver.ino

Oneliner - more free bytes
This commit is contained in:
Theo Arends 2019-06-11 14:56:05 +02:00
parent 1748a2655c
commit 50e4722873
1 changed files with 1 additions and 6 deletions

View File

@ -62,12 +62,7 @@ const char HTTP_HEAD[] PROGMEM =
"return document.querySelector(s);"
"}"
"function sp(i){" // Toggle password visibility
"var x=eb(i);"
"if(x.type==='text'){"
"x.type='password';"
"}else{"
"x.type='text';"
"}"
"eb(i).type=(eb(i).type==='text'?'password':'text');"
"}"
// https://www.htmlgoodies.com/beyond/javascript/article.php/3724571/Using-Multiple-JavaScript-Onload-Functions.htm
"function wl(f){" // Execute multiple window.onload