Skip to content

Commit

Permalink
Fix LIVE NOW line
Browse files Browse the repository at this point in the history
  • Loading branch information
dylancashman committed Oct 12, 2024
1 parent 0834e17 commit 500de85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion program/calendar.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions static/2024/js/views/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ function finishCalendar(renderPromises) {
// Draw the thing
const position = $($(`#tab-${tzDayOfWeek} .time-slot[data-time="${currTimeSlot}"`)[0]).position()

$('#curr-time-indicator-line').css({top: position.top + 10, position: 'absolute', width: '77vw'}).show();
$('#curr-time-indicator-label').css({top: position.top + 45, left: 75, position: 'absolute', width: '77vw'}).html(`Now: ${tzTimeStr}`).show();
$(`#${tzDayOfWeek}-curr-time-indicator-line`).css({top: position.top + 10, position: 'absolute', width: '77vw'}).show();
$(`#${tzDayOfWeek}-curr-time-indicator-label`).css({top: position.top + 45, left: 75, position: 'absolute', width: '77vw'}).html(`Now: ${tzTimeStr}`).show();
}
}
}, 200);
Expand Down

0 comments on commit 500de85

Please sign in to comment.