Skip to content

Commit 5e5a39e

Browse files
committed
fix bug with scan light not hidden
1 parent 7e8bbe4 commit 5e5a39e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2.ui-tweaking/3.read-video-with-external-control.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ <h1 style="font-size: 1.5em;">Customized UI</h1>
187187
}
188188

189189
function setScanLightView(boolean) {
190-
document.querySelector('.dce-scanlight').hidden = !boolean;
190+
document.querySelector('.dce-scanlight').style.display = boolean? "block": "none";
191191
}
192192
// when the selector is clicked
193193
function toggleCamView(e) {

0 commit comments

Comments
 (0)