Update index.html

This commit is contained in:
Alexander 2017-11-30 19:03:40 +03:00 committed by GitHub
parent 4b02949e95
commit 299ed0fc3b
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;