diff --git a/js/AdminLTE/app.js b/js/AdminLTE/app.js index d926a2ffbf40a818b4422e911f4d00784c04f504..d7b95379c4b3ebf60d2a450bd01cbd96f23a2b05 100644 --- a/js/AdminLTE/app.js +++ b/js/AdminLTE/app.js @@ -101,7 +101,7 @@ $(function() { **/ function _fix() { //Get window height and the wrapper height - var height = $(window).height() - $("body > .header").height(); + var height = $(window).height() - $("body > .header").height() - ($("body > .footer").outerHeight() || 0); $(".wrapper").css("min-height", height + "px"); var content = $(".wrapper").height(); //If the wrapper height is greater than the window