Skip to content

Commit a1a601c

Browse files
authored
Update head.html
the ? means its ok if it's undefined so it won't throw the error, cannot read properties of undefined.
1 parent 3cb44cf commit a1a601c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
if (sm) {
3131
for (const video of videos) video.play();
3232
} else {
33-
videos[0].play();
33+
videos[0]?.play();
3434
}
3535

3636
function showAllPeople() {

0 commit comments

Comments
 (0)