Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
campbell-m committed Nov 3, 2024
1 parent d6bb7ef commit 473debd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/js/refresh.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,9 @@ function getIndices(slots, time) {
// Do this on page_ready, rather than tableload, so that the scrolling doesn't happen after
// every automatic refresh. That would be a problem if the user has deliberately scrolled
// somewhere else after the automatic scroll.
//
// TODO: Make sure that the booking that has just been made is visible in the table and
// TODO: scroll as necessary if not.
?>
const searchParams = new URLSearchParams(window.location.search);
const top = searchParams.get('top');
Expand Down

0 comments on commit 473debd

Please sign in to comment.