Explorar el Código

[assist] Fix wonky inner panel layout

Johan Ahlen hace 9 años
padre
commit
c7de85a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

@@ -1198,7 +1198,7 @@
       if (totalRatios !== 1) {
         var diff = 1 / totalRatios;
         $.each(panelDefinitions(), function (idx, panel) {
-          totalRatios[panel.type] = totalRatios[panel.type] * diff;
+          panelRatios[panel.type] = panelRatios[panel.type] * diff;
         });
       }