Skip to content

Commit f547332

Browse files
authored
fix camera input
1 parent 149306e commit f547332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

homework/homework1/hw1.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ function camera_input(;max_size=200, default_url="https://i.imgur.com/SUmi94P.pn
11971197
<script>
11981198
// based on https://github.com/fonsp/printi-static (by the same author)
11991199
1200-
const span = this.currentScript.parentElement
1200+
const span = currentScript.parentElement
12011201
const video = span.querySelector("video")
12021202
const popout = span.querySelector("button#pop-out")
12031203
const stop = span.querySelector("button#stop")

0 commit comments

Comments
 (0)