Skip to content

Commit

Permalink
hide pause messages on previous days
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcosulich committed Sep 7, 2023
1 parent 9fab0d0 commit f9f5e25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ const contest = {
addClass(eByClass('after-contest'), 'hidden');
removeClass(eByClass('paused-contest'), 'hidden');
return;
} else {
addClass(eByClass('paused-contest'), 'hidden');
}

const leaderboardId = selectedLeaderboard.id;
Expand Down
2 changes: 2 additions & 0 deletions js/contest.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ const contest = {
addClass(eByClass('after-contest'), 'hidden');
removeClass(eByClass('paused-contest'), 'hidden');
return;
} else {
addClass(eByClass('paused-contest'), 'hidden');
}

const leaderboardId = selectedLeaderboard.id;
Expand Down

0 comments on commit f9f5e25

Please sign in to comment.