Update xdrv_01_webserver.ino

Adapt Monty Python: Every byte is sacred
This commit is contained in:
Theo Arends 2019-06-11 14:45:08 +02:00
parent 2b5c691041
commit 1748a2655c
1 changed files with 3 additions and 3 deletions

View File

@ -63,10 +63,10 @@ const char HTTP_HEAD[] PROGMEM =
"}"
"function sp(i){" // Toggle password visibility
"var x=eb(i);"
"if(x.type==='password'){"
"x.type='text';"
"}else{"
"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