Skip to content

Commit

Permalink
Fixed bug with last day quiz redirect.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wylan committed May 10, 2012
1 parent c21631f commit b465599
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/script.js
Expand Up @@ -104,8 +104,8 @@ function getTodaysQuiz() {
var fullDate = getTodaysDate(); var fullDate = getTodaysDate();


// last day of the event, if it is past this date we just redirect to the final score page // last day of the event, if it is past this date we just redirect to the final score page
var endDate = new Date("May 21, 2012"); //var endDate = new Date("May 21, 2012");
if (fullDate >= endDate) { if (daysSinceStart() > 8) {
$.mobile.changePage("quizindex.html"); $.mobile.changePage("quizindex.html");
}else { }else {


Expand Down

0 comments on commit b465599

Please sign in to comment.