Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion stream.html
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ <h2 id="arena-unset-warning">
setNextMatch: function(match) {
console.debug('setNextMatch', match);

slot_start = new Date(match.times.slot.start)
start= new Date(match.times.game.start)
end= new Date(match.times.game.end)

Expand Down Expand Up @@ -427,7 +428,7 @@ <h2 id="arena-unset-warning">
else if (minutesToNext < 24*60)
{
/* when a long gap (but not the end of the event) exists */
this.target=parseInt(start.getTime());
this.target=parseInt(slot_start.getTime());
setTimeout(function() {this.set_mode("interval")}.bind(this),1)
}
else
Expand Down