|  | @@ -1,6 +1,6 @@
 | 
	
		
			
				|  |  |  'use strict';
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
 | 
	
		
			
				|  |  | +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -10,7 +10,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
 | 
	
		
			
				|  |  |   * Project website Almsaeed Studio (https://almsaeedstudio.com)
 | 
	
		
			
				|  |  |   * Licensed under MIT (https://github.com/almasaeed2010/AdminLTE/blob/master/LICENSE)
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  | -var Layout = (function ($) {
 | 
	
		
			
				|  |  | +var Layout = function ($) {
 | 
	
		
			
				|  |  |    'use strict';
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    /**
 | 
	
	
		
			
				|  | @@ -31,6 +31,7 @@ var Layout = (function ($) {
 | 
	
		
			
				|  |  |      SIDEBAR: '.main-sidebar',
 | 
	
		
			
				|  |  |      HEADER: '.main-header',
 | 
	
		
			
				|  |  |      CONTENT: '.content-wrapper',
 | 
	
		
			
				|  |  | +    CONTENT_HEADER: '.content-header',
 | 
	
		
			
				|  |  |      WRAPPER: '.wrapper',
 | 
	
		
			
				|  |  |      CONTROL_SIDEBAR: '.control-sidebar',
 | 
	
		
			
				|  |  |      LAYOUT_FIXED: '.layout-fixed',
 | 
	
	
		
			
				|  | @@ -43,14 +44,12 @@ var Layout = (function ($) {
 | 
	
		
			
				|  |  |      LAYOUT_FIXED: 'layout-fixed'
 | 
	
		
			
				|  |  |    };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  var Default = {};
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |    /**
 | 
	
		
			
				|  |  |     * Class Definition
 | 
	
		
			
				|  |  |     * ====================================================
 | 
	
		
			
				|  |  |     */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  var Layout = (function () {
 | 
	
		
			
				|  |  | +  var Layout = function () {
 | 
	
		
			
				|  |  |      function Layout(element) {
 | 
	
		
			
				|  |  |        _classCallCheck(this, Layout);
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -64,18 +63,10 @@ var Layout = (function ($) {
 | 
	
		
			
				|  |  |      _createClass(Layout, [{
 | 
	
		
			
				|  |  |        key: 'fixLayoutHeight',
 | 
	
		
			
				|  |  |        value: function fixLayoutHeight() {
 | 
	
		
			
				|  |  | -        var $elements = $(Selector.CONTENT + ', ' + Selector.SIDEBAR + ', ' + Selector.CONTROL_SIDEBAR);
 | 
	
		
			
				|  |  | -        var maxHeight = undefined;
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -        $elements.css('min-height', 0);
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -        var heights = [$(window).height(), $(Selector.SIDEBAR).height(), $(Selector.HEADER).outerHeight(), $(Selector.CONTROL_SIDEBAR).height(), $(Selector.CONTENT).outerHeight(), $(Selector.FOOTER).outerHeight()];
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -        maxHeight = this._max(heights);
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -        // $elements.css('min-height', maxHeight)
 | 
	
		
			
				|  |  | +        var heights = [$(window).height(), $(Selector.HEADER).outerHeight(), $(Selector.FOOTER).outerHeight()];
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        // $(Selector.CONTENT).css('min-height', maxHeight - (heights[2] + heights[5]))
 | 
	
		
			
				|  |  | +        $(Selector.CONTENT).css('min-height', heights[0] - (heights[1] + heights[2]));
 | 
	
		
			
				|  |  | +        console.log(heights[0] - (heights[1] + heights[2]));
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        // Private
 | 
	
	
		
			
				|  | @@ -130,7 +121,7 @@ var Layout = (function ($) {
 | 
	
		
			
				|  |  |      }]);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      return Layout;
 | 
	
		
			
				|  |  | -  })();
 | 
	
		
			
				|  |  | +  }();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    /**
 | 
	
		
			
				|  |  |     * jQuery API
 | 
	
	
		
			
				|  | @@ -145,9 +136,9 @@ var Layout = (function ($) {
 | 
	
		
			
				|  |  |    };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    return Layout;
 | 
	
		
			
				|  |  | -})(jQuery);
 | 
	
		
			
				|  |  | +}(jQuery);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -var Treeview = (function ($) {
 | 
	
		
			
				|  |  | +var Treeview = function ($) {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    /**
 | 
	
		
			
				|  |  |     * Constants
 | 
	
	
		
			
				|  | @@ -192,7 +183,7 @@ var Treeview = (function ($) {
 | 
	
		
			
				|  |  |     * ====================================================
 | 
	
		
			
				|  |  |     */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  var Treeview = (function () {
 | 
	
		
			
				|  |  | +  var Treeview = function () {
 | 
	
		
			
				|  |  |      function Treeview(element, config) {
 | 
	
		
			
				|  |  |        _classCallCheck(this, Treeview);
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -301,7 +292,7 @@ var Treeview = (function ($) {
 | 
	
		
			
				|  |  |      }]);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      return Treeview;
 | 
	
		
			
				|  |  | -  })();
 | 
	
		
			
				|  |  | +  }();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    /**
 | 
	
		
			
				|  |  |     * Data API
 | 
	
	
		
			
				|  | @@ -328,9 +319,9 @@ var Treeview = (function ($) {
 | 
	
		
			
				|  |  |    };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    return Treeview;
 | 
	
		
			
				|  |  | -})(jQuery);
 | 
	
		
			
				|  |  | +}(jQuery);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -var PushMenu = (function ($) {
 | 
	
		
			
				|  |  | +var PushMenu = function ($) {
 | 
	
		
			
				|  |  |    'use strict';
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    /**
 | 
	
	
		
			
				|  | @@ -358,7 +349,7 @@ var PushMenu = (function ($) {
 | 
	
		
			
				|  |  |     * ====================================================
 | 
	
		
			
				|  |  |     */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  var PushMenu = (function () {
 | 
	
		
			
				|  |  | +  var PushMenu = function () {
 | 
	
		
			
				|  |  |      function PushMenu(element) {
 | 
	
		
			
				|  |  |        _classCallCheck(this, PushMenu);
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -424,7 +415,7 @@ var PushMenu = (function ($) {
 | 
	
		
			
				|  |  |      }]);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      return PushMenu;
 | 
	
		
			
				|  |  | -  })();
 | 
	
		
			
				|  |  | +  }();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    /**
 | 
	
		
			
				|  |  |     * Data API
 | 
	
	
		
			
				|  | @@ -456,12 +447,12 @@ var PushMenu = (function ($) {
 | 
	
		
			
				|  |  |    };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    return PushMenu;
 | 
	
		
			
				|  |  | -})(jQuery);
 | 
	
		
			
				|  |  | +}(jQuery);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -var Widget = (function ($) {
 | 
	
		
			
				|  |  | +var Widget = function ($) {
 | 
	
		
			
				|  |  |    'use strict';
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -  var Widget = (function () {
 | 
	
		
			
				|  |  | +  var Widget = function () {
 | 
	
		
			
				|  |  |      function Widget(element) {
 | 
	
		
			
				|  |  |        _classCallCheck(this, Widget);
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -477,8 +468,8 @@ var Widget = (function ($) {
 | 
	
		
			
				|  |  |      }]);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      return Widget;
 | 
	
		
			
				|  |  | -  })();
 | 
	
		
			
				|  |  | +  }();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    return Widget;
 | 
	
		
			
				|  |  | -})(jQuery);
 | 
	
		
			
				|  |  | +}(jQuery);
 | 
	
		
			
				|  |  |  //# sourceMappingURL=adminlte.js.map
 |