Skip to content

Commit 74c87a8

Browse files
committed
fix: previous page shortcut works in index page. #1765
1 parent e016967 commit 74c87a8

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGES.rst

+4
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ Unreleased
3636
- The index page is always sorted by one of its columns, with clearer
3737
indications of the sorting.
3838

39+
- The "previous file" shortcut key didn't work on the index page, but now it
40+
does, fixing `issue 1765`_.
41+
3942
- The debug output showing which configuration files were tried now shows
4043
absolute paths to help diagnose problems where settings aren't taking effect,
4144
and is renamed from "attempted_config_files" to the more logical
@@ -44,6 +47,7 @@ Unreleased
4447
- Python 3.13.0a5 is supported.
4548

4649
.. _issue 1384: https://github.com/nedbat/coveragepy/issues/1384
50+
.. _issue 1765: https://github.com/nedbat/coveragepy/issues/1765
4751

4852

4953
.. scriv-start-here

CONTRIBUTORS.txt

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ J. M. F. Tsang
102102
JT Olds
103103
Jacqueline Lee
104104
Jakub Wilk
105+
James Valleroy
105106
Jan Rusak
106107
Janakarajan Natarajan
107108
Jerin Peter George

coverage/htmlfiles/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ <h2>
152152
</p>
153153
</div>
154154
<aside class="hidden">
155-
<a id="prevFileLink" class="nav" href="{{ final_html }}"/>
156-
<a id="nextFileLink" class="nav" href="{{ first_html }}"/>
155+
<a id="prevFileLink" class="nav" href="{{ final_html }}"></a>
156+
<a id="nextFileLink" class="nav" href="{{ first_html }}"></a>
157157
<button type="button" class="button_prev_file" data-shortcut="["/>
158158
<button type="button" class="button_next_file" data-shortcut="]"/>
159159
<button type="button" class="button_show_hide_help" data-shortcut="?"/>

0 commit comments

Comments
 (0)