소스 검색

Updated app.js

Abdullah Almsaeed 10 년 전
부모
커밋
d4674d3a1d
2개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      dist/js/app.js
  2. 0 0
      dist/js/app.min.js

+ 11 - 0
dist/js/app.js

@@ -248,11 +248,22 @@ function _init() {
       if ($("body").hasClass("fixed")) {
         $(".content-wrapper, .right-side").css('min-height', window_height - $('.main-footer').outerHeight());
       } else {
+        var postSetWidth;
         if (window_height >= sidebar_height) {
           $(".content-wrapper, .right-side").css('min-height', window_height - neg);
+          postSetWidth = window_height - neg;
         } else {
           $(".content-wrapper, .right-side").css('min-height', sidebar_height);
+          postSetWidth = sidebar_height;
         }
+        
+        //Fix for the control sidebar height
+        var controlSidebar = $($.AdminLTE.options.controlSidebarOptions.selector);
+        if(typeof controlSidebar !== "undefined") {
+          if(controlSidebar.height() > postSetWidth)
+            $(".content-wrapper, .right-side").css('min-height', controlSidebar.height());
+        }
+        
       }
     },
     fixSidebar: function () {

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/app.min.js


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.