skyspy: fix whitespace, counting time with sat view should now work

master
Pavel Machek 2024-12-03 14:02:02 +01:00
parent 7161aac53e
commit e78f566e96
1 changed files with 51 additions and 49 deletions

View File

@ -686,7 +686,9 @@ let sky = {
}, },
goodest: function () { goodest: function () {
let s = this.getnthLowestStartTimeSat(5); let s = this.getnthLowestStartTimeSat(5);
let t = getTime() - s; if (s==-1)
return "none";
let t = getTime() - s.start;
return "" + t; return "" + t;
}, },
messageEnd: function() { messageEnd: function() {