Skip to content

Commit 16ace5a

Browse files
authored
Fix LI content numbers
I think this is more convenient. If one will call chapter.closest('.chapter') they will understand that it returns the first <li class="chapter">
1 parent e2f9e58 commit 16ace5a

File tree

1 file changed

+1
-1
lines changed
  • 2-ui/1-document/04-searching-elements-dom

1 file changed

+1
-1
lines changed

2-ui/1-document/04-searching-elements-dom/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ For instance:
154154
<div class="contents">
155155
<ul class="book">
156156
<li class="chapter">Chapter 1</li>
157-
<li class="chapter">Chapter 1</li>
157+
<li class="chapter">Chapter 2</li>
158158
</ul>
159159
</div>
160160

0 commit comments

Comments
 (0)