Skip to content

Commit

Permalink
removed AP good luck notification
Browse files Browse the repository at this point in the history
  • Loading branch information
briankchan committed May 20, 2014
1 parent 84d08f8 commit 486424e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,6 @@ <h1 id="header" class="noHighlight">
<!--<input type="button" value="Current Week" id = "currWeek" title = "Current Week" onclick="goCurrWeek()">-->

<div id="warning">This is a future week, so the schedule may be incorrect. (In particular, special/alternate schedules may be missing.)</div>
<div id="news">Good luck on your AP Exams!</div>
<table id="schedule"></table>

<div id="refresh" class="noHighlight" title="Update Schedule">&#8635;</div><!--&#8681;-->
Expand Down
4 changes: 1 addition & 3 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,10 @@ function setDispWeek(time,force){

if(date > getSunday(new Date())) {
document.getElementById("warning").style.display = "block"; //display warning if week is in the future
document.getElementById("news").style.display = "none";
}
else
{
{
document.getElementById("warning").style.display = "none"; //else hide warning
document.getElementById("news").style.display = "block";
}

/*
Expand Down

0 comments on commit 486424e

Please sign in to comment.