File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ function restartCameraViewing() {
7171async function takeTestRecording ( ) {
7272 document . getElementById ( "take-snapshot-recording" ) ! . innerText = 'Making a test recording' ;
7373 document . getElementById ( "take-snapshot-recording" ) ! . setAttribute ( "disabled" , "true" ) ;
74- console . log ( "makign a test recording" ) ;
74+ console . log ( "making a test recording" ) ;
7575 fetch ( '/api/camera/snapshot-recording' , {
7676 method : 'PUT' ,
7777 headers : {
@@ -81,7 +81,7 @@ async function takeTestRecording() {
8181 . then ( response => console . log ( response ) )
8282 . then ( data => console . log ( data ) )
8383 . catch ( error => console . error ( error ) )
84- //TODO handel errors better and check that recordin was made properly instead of just waiting..
84+ //TODO handle errors better and check that recording was made properly instead of just waiting..
8585 await new Promise ( r => setTimeout ( r , 3000 ) ) ;
8686 document . getElementById ( "take-snapshot-recording" ) ! . removeAttribute ( "disabled" ) ;
8787 document . getElementById ( "take-snapshot-recording" ) ! . innerText = 'Take test recording' ;
You can’t perform that action at this time.
0 commit comments