From: hobbyquaker <bastiraff@googlemail.com>
Date: Thu, 29 Mar 2018 16:02:40 +0000 (+0200)
Subject: comment
X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=3ed6ebcd51b35424735b20e583c235da9ed2347f;p=motioneye-debian

comment
---

diff --git a/motioneye/static/js/main.js b/motioneye/static/js/main.js
index 84f139e..7326f1a 100644
--- a/motioneye/static/js/main.js
+++ b/motioneye/static/js/main.js
@@ -1000,7 +1000,7 @@ function updateLayout() {
          * is smaller than the height of the screen
          * divided by the number of layout rows */
 
-        /* check if all images are initialized and find the max height/width ratio */
+        /* find the max height/width ratio */
         var frames = getCameraFrames();
         var maxRatio = 0;
 
@@ -1015,7 +1015,7 @@ function updateLayout() {
         if (!maxRatio) {
             return; /* no camera frames */
         }
-        
+
         var pageContainer = getPageContainer();
         var windowWidth = $(window).width();
         
@@ -1045,7 +1045,7 @@ function updateLayout() {
             getPageContainer().css('width', '');
             return; /* page container width already at its maximum */
         }
-        
+
         getPageContainer().css('width', width);
     }
     else {
@@ -4399,7 +4399,7 @@ function runMediaDialog(cameraId, mediaType) {
 
 function addCameraFrameUi(cameraConfig) {
     var cameraId = cameraConfig.id;
-    
+
     var cameraFrameDiv = $(
             '<div class="camera-frame">' +
                 '<div class="camera-container">' +
@@ -4671,13 +4671,13 @@ function addCameraFrameUi(cameraConfig) {
         if (this.naturalHeight) {
             this._naturalHeight = this.naturalHeight;
         }
-        
+
         if (this.initializing) {
             cameraProgress.removeClass('visible');
             cameraImg.removeClass('initializing');
             cameraImg.css('height', '');
             this.initializing = false;
-            
+
             updateLayout();
         }