show no talks for tomorrow
parent
3b61260084
commit
521ace7a21
|
@ -90,7 +90,8 @@ class Schedule {
|
|||
this.schedule.find('event').each( function(){
|
||||
|
||||
var eventStart = new Date($(this).children('date').text());
|
||||
if ((eventStart - now) >= 0){
|
||||
var tenHours = 36000000;
|
||||
if ((eventStart - now) >= 0 && (eventStart - now) < tenHours){
|
||||
allEvents.push({
|
||||
title: $(this).children('title').text(),
|
||||
room: $(this).children('room').text(),
|
||||
|
|
Loading…
Reference in New Issue