Allow for multiple events to overlap
Currently the javascript only allows for a single event to be "Current", add an additional check so we can have multiple events that are current. An alternate approach would be to use a generic 'Nominations' event but this would require more change across multiple tools. Change-Id: Ibae6644d9a11aa8ebeaac525706f24c3756778cd
This commit is contained in:
parent
c6406fdbd5
commit
45d6d582e8
@ -41,6 +41,9 @@ function setup_timeline() {
|
||||
event_date = current_event_end;
|
||||
startTime();
|
||||
}
|
||||
else if (now > current_event_start && now < current_event_end) {
|
||||
set_event_status(current_event.name, 'Current');
|
||||
}
|
||||
else if (now < current_event_start) {
|
||||
set_event_status(current_event.name, 'Future');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user