Permalink
Browse files

Fixed bug with last day quiz redirect.

  • Loading branch information...
1 parent c21631f commit b46559962d3f9b16db0cabb8595aab73cc88b1f5 @Wylan Wylan committed May 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/script.js
View
@@ -104,8 +104,8 @@ function getTodaysQuiz() {
var fullDate = getTodaysDate();
// 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");
- if (fullDate >= endDate) {
+ //var endDate = new Date("May 21, 2012");
+ if (daysSinceStart() > 8) {
$.mobile.changePage("quizindex.html");
}else {

0 comments on commit b465599

Please sign in to comment.