Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
handellm committed Sep 4, 2024
1 parent c65f778 commit ae937a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/getusermedia/resolution/js/main.js
Original file line number Diff line number Diff line change
@@ -119,7 +119,7 @@ const eightKConstraints = {
function gotDevices(deviceInfos) {
// Handles being called several times to update labels. Preserve values.
while (videoSelect.firstChild) {
videoSelect.removeChild(select.firstChild);
videoSelect.removeChild(videoSelect.firstChild);
}
for (let i = 0; i !== deviceInfos.length; ++i) {
const deviceInfo = deviceInfos[i];

0 comments on commit ae937a2

Please sign in to comment.