Commit Graph

13 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
Bernhard Kirchen c9f428a4f6 console cursor: remove useless semicolons in JS code 2022-04-03 10:57:20 +02:00
Bernhard Kirchen 7ac91d4e34 console cursor: use lambda function 2022-04-03 10:50:58 +02:00
Bernhard Kirchen 5382579bff console cursor: use absolute cursor position
instead of moving the cursor to the end by using the input field value's
length, we move it to position 1e9, which will certainly be beyond the
end of the string.
2022-04-03 10:49:47 +02:00
Bernhard Kirchen 23495b967d console cursor: remove useless spaces in JS code 2022-04-03 10:48:51 +02:00
Bernhard Kirchen d2e8ca4a25 console: keep cursor at the end of command input
move the text cursor to the end of the command input when filling the
console command from history using JavsScript. this hopefully is more
convenient to most users and is similar to the behavior of a desktop
terminal.
2022-04-03 06:22:00 +02:00
Theo Arends 2dda90de72 Fix console log jumps
Fix console log jumps (#15070)
2022-03-09 10:32:47 +01:00
Barbudor f9ee78b501 keep timer loop when console is scrolled up 2021-02-23 19:07:56 +01: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