Skip to content

Commit c532452

Browse files
committed
Get rid of counter reset in title list
Since it triggers a bug in Firefox 82 Issue marijnh#535
1 parent 7f07a68 commit c532452

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

epub/toc.xhtml.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<!-- user-visible TOC -->
4343
<ol class="toc">
4444
<li class="no-number"><a href="00_intro.xhtml">Introduction</a></li>
45-
<li style="counter-reset: li; position: relative">
45+
<li style="position: relative">
4646
<a href="01_values.xhtml"><span class="parttitle">(Part 1: Language)</span>Values, Types, and Operators</a>
4747
</li>
4848
<li><a href="02_program_structure.xhtml">Program Structure</a></li>

html/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ <h2>Contents</h2>
7474

7575
<ol class=toc>
7676
<li class="contents-intro"><a href="00_intro.html">Introduction</a>
77-
<li style="counter-reset: li">
77+
<li>
7878
<h3>(Part 1: Language)</h3>
7979
<a href="01_values.html">Values, Types, and Operators</a>
8080
</li>

0 commit comments

Comments
 (0)