Commit Graph

8 Commits

Author SHA1 Message Date
Bernhard Kirchen 34fb6dfe2a javascript: code large integers with scientific notation
99999999 and 1e8 are not the same number, but srollTop only needs to be
very large, not that particular number.

saves 18 Bytes of JavaScript code.
2022-04-03 12:38:19 +02:00
Bernhard Kirchen 09a4c62fee javascript: use arrow functions where possible
replacing anonymous functions by arrow functions saves 40 Bytes of
JavaScript code.
2022-04-03 12:38:19 +02:00
gemu2015 1f860deb02 web gui rework 2022-01-25 10:57:37 +01:00
Theo Arends fd52bc4a39 GUI more compact relay state display 2021-04-03 16:17:48 +02:00
Simon Hailes 0c38aca915 MAC compatible httm webtimout changes 2020-12-31 12:31:22 +00:00
Theo Arends 89e697fab6 Revert "Merge pull request #10318 from btsimonh/webtimeouts"
This reverts commit c7ff3f39db, reversing
changes made to 0703e5899b.
2020-12-31 11:47:37 +01:00
Simon Hailes 0ffa5ad75a Allow up to 20s for an XHR request to succeed - only cancel & retry after that. Move refresh timer inside successful response.
Applied to main menu and Console menu.
Fixes times when commands are issued from Web Console, but get the XHR gets cancelled after the default 2.345s webrefresh time.
2020-12-30 12:52:16 +00:00
Simon Hailes cb71466bd4 webserver - move all compressed scripts to subfolders /html_uncompressed and /htmlcompressed.
Add utility tools/unishox/compress-html-uncompressed.py to compress all files found in tasmota/html_uncompressed and write compressed version to tasmota/htmlcompressed
2020-12-29 09:53:15 +00:00