File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
web/skins/classic/views/js Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -840,7 +840,7 @@ function ControlList_onClick() {
840840
841841function ObjectDetection_onChange ( od_select ) {
842842 const od = od_select . value ;
843- if ( od == 'none' ) {
843+ if ( od == 'none' ) {
844844 // Hide other options
845845 $j ( '#ObjectDetectionModel' ) . hide ( ) ;
846846 $j ( '#ObjectDetectionObjectThreshold' ) . hide ( ) ;
@@ -857,7 +857,7 @@ function ObjectDetection_onChange(od_select) {
857857
858858 od_model_select . innerHTML = '' ;
859859 for ( const [ key , value ] of Object . entries ( od_models [ od ] ) ) {
860- let opt = document . createElement ( 'option' ) ;
860+ const opt = document . createElement ( 'option' ) ;
861861 opt . value = key ; // the index
862862 opt . innerHTML = value ;
863863 od_model_select . append ( opt ) ;
Original file line number Diff line number Diff line change @@ -1358,7 +1358,9 @@ function monitorsSetScale(id=null) {
13581358 var currentMonitor = monitorStream ;
13591359 } else if ( typeof monitors !== 'undefined' ) {
13601360 //used on Montage, Watch & Event page.
1361- var currentMonitor = monitors . find ( ( o ) => { return parseInt ( o [ "id" ] ) === id ; } ) ;
1361+ var currentMonitor = monitors . find ( ( o ) => {
1362+ return parseInt ( o [ "id" ] ) === id ;
1363+ } ) ;
13621364 } else {
13631365 //Stream is missing
13641366 return ;
You can’t perform that action at this time.
0 commit comments