Skip to content

Commit 1989f42

Browse files
authored
Merge pull request #316 from usernamehw/patch-4
Update index.html
2 parents d0ae5a2 + 299ed0f commit 1989f42

File tree

1 file changed

+1
-1
lines changed
  • 2-ui/1-document/04-searching-elements-dom/2-tree-info/solution.view

1 file changed

+1
-1
lines changed

2-ui/1-document/04-searching-elements-dom/2-tree-info/solution.view/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</ul>
4141

4242
<script>
43-
for (let li of document.querySelector('li')) {
43+
for (let li of document.querySelectorAll('li')) {
4444
// get the title from the text node
4545
let title = li.firstChild.data;
4646

0 commit comments

Comments
 (0)