* Tweaked next rest stop warning level a tiny bit.
authorUrban Wallasch <urban.wallasch@freenet.de>
Sun, 4 Aug 2019 09:54:08 +0000 (11:54 +0200)
committerUrban Wallasch <urban.wallasch@freenet.de>
Sun, 4 Aug 2019 09:54:08 +0000 (11:54 +0200)
dash.html

index 305f0bc5c56f48d9c55f31a98b4a44a43fe98a59..bd89a62827e427a583df41d47f5a043af1a0aa80 100644 (file)
--- a/dash.html
+++ b/dash.html
@@ -320,7 +320,7 @@ function update_cb() {
 
     // time until next rest stop:
     next_rest.innerHTML = m2hm(tele.next_rest);
-    warn( next_rest, tele.next_rest < 60 ? 2 : tele.next_rest < 98 ? 1 : 0 );
+    warn( next_rest, tele.next_rest < 60 ? 2 : tele.next_rest < 99 ? 1 : 0 );
 
     // remaining time until job delivery date:
     job_ttd.innerHTML =