Skip to content

Commit

Permalink
fix: previous page shortcut works in index page. #1765
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Apr 21, 2024
1 parent e9bd47b commit 409938d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,13 @@ Unreleased
- The index page is always sorted by one of its columns, with clearer
indications of the sorting.

- The "previous file" shortcut key didn't work on the index page, but now it
does, fixing `issue 1765`_.

- Python 3.13.0a5 is supported.

.. _issue 1384: https://github.com/nedbat/coveragepy/issues/1384
.. _issue 1765: https://github.com/nedbat/coveragepy/issues/1765


.. scriv-start-here
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ J. M. F. Tsang
JT Olds
Jacqueline Lee
Jakub Wilk
James Valleroy
Jan Rusak
Janakarajan Natarajan
Jerin Peter George
Expand Down
4 changes: 2 additions & 2 deletions coverage/htmlfiles/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ <h2>
</p>
</div>
<aside class="hidden">
<a id="prevFileLink" class="nav" href="{{ final_html }}"/>
<a id="nextFileLink" class="nav" href="{{ first_html }}"/>
<a id="prevFileLink" class="nav" href="{{ final_html }}"></a>
<a id="nextFileLink" class="nav" href="{{ first_html }}"></a>
<button type="button" class="button_prev_file" data-shortcut="["/>
<button type="button" class="button_next_file" data-shortcut="]"/>
<button type="button" class="button_show_hide_help" data-shortcut="?"/>
Expand Down

0 comments on commit 409938d

Please sign in to comment.