File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments