Skip to content

Commit e6313e5

Browse files
committed
update 'toggleMaskView()';
1 parent 095b98e commit e6313e5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

2.ui-tweaking/5.read-video-with-custom-default-ui.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,8 @@ <h1>Customized Default UI</h1>
229229
}
230230
// camera's styles mask show or not
231231
function toggleMaskView() {
232-
let dceLoading = document.getElementById('dce-loading');
233232
let dceMask = document.getElementById('dce-mask');
234-
let dceScanlight = document.getElementById('dce-scanlight');
235-
dceLoading.style.display = dceLoading.style.display === "none" ? "inline-block" : "none"
236233
dceMask.hidden = !dceMask.hidden;
237-
dceScanlight.hidden = !dceScanlight.hidden;
238234
}
239235
// click anywhere outside the options to collapse the options
240236
function clickToHiddenOptions(e) {

0 commit comments

Comments
 (0)