Skip to content

Commit a4ff6d8

Browse files
committed
fix bug with scan light not hidden
1 parent 04996e6 commit a4ff6d8

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)