Skip to content

Commit

Permalink
fix typo on avsetup element
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-liang committed Aug 21, 2022
1 parent d220910 commit dde62e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/av-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ window.setupAV = (callback) => {
const vol = meterProcess.volume * 100 * 3;
micMeter.setAttribute('style', `width: ${vol}%`);
micMeter.setAttribute('aria-valuenow', '' + vol);
// set up the next visual callback if setupAV is not hidden
if (!setupAV.classList.contains('d-none')) {
// set up the next visual callback if setupPanel is not hidden
if (!setupPanel.classList.contains('d-none')) {
window.requestAnimationFrame(micDrawLoop);
} else {
meterProcess.shutdown();
Expand Down

0 comments on commit dde62e9

Please sign in to comment.