Skip to content

Commit 13e37d1

Browse files
committed
Update 5.read-video-with-custom-default-ui.html
1 parent 7470e77 commit 13e37d1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ <h1>Customized Default UI</h1>
143143
li.appendChild(span);
144144
optionsUl.appendChild(li);
145145
});
146-
const camOptions = document.querySelectorAll("#ul_options_camera span");
147146
}
148147
// resolution selector renderer
149148
async function renderResolutionSelector() {
@@ -221,7 +220,6 @@ <h1>Customized Default UI</h1>
221220
await scanner.setResolution(targetResolution);
222221
const _currentResolution = await scanner.getResolution();
223222
const gotResolution = document.querySelector("#gotResolution span");
224-
const resOptions = document.querySelectorAll("#ul_options_resolution span");
225223
gotResolution.textContent = 'got ' + _currentResolution[0] + ' x ' + _currentResolution[1];
226224
gotResolution.id = _currentResolution[0] + 'x' + _currentResolution[1];
227225
document.getElementById("selector_input_resolution").value = gotResolution.textContent;

0 commit comments

Comments
 (0)