]> www.vanbest.org Git - motioneye-debian/commitdiff
do not automatically show the settings panel at login
authorCalin Crisan <ccrisan@gmail.com>
Mon, 12 Oct 2015 17:52:01 +0000 (20:52 +0300)
committerCalin Crisan <ccrisan@gmail.com>
Mon, 12 Oct 2015 17:52:01 +0000 (20:52 +0300)
motioneye/static/js/main.js

index 0ea284012a3df4514b4a73c0e82de19e0876be6c..d6187fc988bc75965a8e670cc8f772fdd7c05a94 100644 (file)
@@ -3729,9 +3729,9 @@ function recreateCameraFrames(cameras) {
         });
     }
     
-    /* update settings panel */
+    /* update the settings panel */
     var cameraId = $('#cameraSelect').val();
-    if (cameraId && cameraId != 'add') {
+    if (cameras == null && cameraId && cameraId != 'add') {
         openSettings(cameraId);
     }
 }