summaryrefslogtreecommitdiff
path: root/static/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/script.js')
-rw-r--r--static/script.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/static/script.js b/static/script.js
index c9b89e8..fd544b7 100644
--- a/static/script.js
+++ b/static/script.js
@@ -273,8 +273,7 @@ function getDayOfYear() {
}
function getChallengeIdx() {
- var idx = getDayOfYear() - 57
- return Math.min(idx, challenges.length-1)
+ return challenges.length-1
}
function focus(el) {