projects
/
ets2_tele.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68611ee
)
* Reset saved values in dash.html when connection fails to improve (visual) recovery...
author
Urban Wallasch
<urban.wallasch@freenet.de>
Wed, 21 Aug 2019 20:21:10 +0000
(22:21 +0200)
committer
Urban Wallasch
<urban.wallasch@freenet.de>
Wed, 21 Aug 2019 20:21:10 +0000
(22:21 +0200)
dash.html
patch
|
blob
|
history
diff --git
a/dash.html
b/dash.html
index 8e17d3a0fe396eee0afb3e755733a5a5a2d59290..ec611dd5b68c40cde6871c78d4e3fc3a211f1eca 100644
(file)
--- a/
dash.html
+++ b/
dash.html
@@
-517,6
+517,12
@@
function update_cb() {
}
else if (this.readyState == 4) {
disableNoSleep();
+ // Reset saved values:
+ last_active = tnow();
+ last_fuel = -1;
+ last_odometer = -1;
+ last_deltime = -1;
+ last_tele = null;
// Show error status:
pausebar.style.display = 'none';
errbar.style.display = 'block';