Skip to content
Snippets Groups Projects
Commit 61121d2b authored by deuce's avatar deuce
Browse files

Only show schedules which have not yet started in the list.

parent 4b2d4742
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ function play(league)
for(set in sets) {
var first=new Date(leaguefile.iniGetValue(sets[set], "FirstDate", 0));
// if(first < (new Date())) {
if(first > (new Date())) {
if(user_voted(sets[set]))
gameslb.add(sets[set], sets[set], undefined, '[', ']');
else {
......@@ -120,7 +120,7 @@ function play(league)
if(gameslb.current==-1)
gameslb.current=gameslb.items.length-1;
}
// }
}
}
if(gameslb.current==-1)
gameslb.current=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment