Skip to content

Commit

Permalink
fixed stupidity
Browse files Browse the repository at this point in the history
(never cleared warning message about future weeks)
  • Loading branch information
briankchan committed May 20, 2014
1 parent e6df640 commit 1d96482
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ function setDispWeek(time,force){

if(date > getSunday(new Date()))
warn("This is a future week, so the schedule may be incorrect. (In particular, special/alternate schedules may be missing.)"); //display warning if week is in the future
else warn(""); //else display good luck message

/*
if(date.valueOf()==getSunday(new Date()).valueOf()) document.getElementById("currWeek").style.display = "none"; //hide back to current week button on current week
Expand Down

0 comments on commit 1d96482

Please sign in to comment.