Merge pull request #316 from usernamehw/patch-4

Update index.html
This commit is contained in:
Ilya Kantor 2017-12-16 11:25:02 +03:00 committed by GitHub
commit 1989f42759
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@
</ul>
<script>
for (let li of document.querySelector('li')) {
for (let li of document.querySelectorAll('li')) {
// get the title from the text node
let title = li.firstChild.data;