Skip to content

Commit

Permalink
oops, fix one more JS variable
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead committed Jul 31, 2024
1 parent 50c05fc commit 98e9b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/osem-schedule.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ $(document).ready( function() {
}
});

if (closestEventId) {
if (closestEvent) {
// Instead of relying on hash it's probably better to scroll using javascript
// Since the users and click button->scroll->click again, which won't re-scroll
$('.highlighted').removeClass('highlighted');
Expand Down

0 comments on commit 98e9b99

Please sign in to comment.