From b160e2aaa9f2565fe4c2ee5b8b019ab62dba2721 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Mon, 12 Oct 2015 20:52:01 +0300 Subject: [PATCH] do not automatically show the settings panel at login --- motioneye/static/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/motioneye/static/js/main.js b/motioneye/static/js/main.js index 0ea2840..d6187fc 100644 --- a/motioneye/static/js/main.js +++ b/motioneye/static/js/main.js @@ -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); } } -- 2.39.5