fixed content-wrapper height calculation if footer isn't there

pull/2174/head
REJack 2019-07-16 14:45:30 +02:00
parent 6c711a05ef
commit d61cbbd627
No known key found for this signature in database
GPG Key ID: 9F3976CC630CC888
3 changed files with 5 additions and 5 deletions

View File

@ -90,7 +90,7 @@
var headerHeight = $(Selector.mainHeader).outerHeight() || 0;
var neg = headerHeight + footerHeight;
var windowHeight = $(window).height();
var sidebarHeight = $(Selector.sidebar).height() || 0;
var sidebarHeight = $(Selector.sidebar).outerHeight() || 0;
// Set the min-height of the content and sidebar based on
// the height of the document.

2
dist/js/adminlte.js vendored
View File

@ -1057,7 +1057,7 @@ throw new Error('AdminLTE requires jQuery')
var headerHeight = $(Selector.mainHeader).outerHeight() || 0;
var neg = headerHeight + footerHeight;
var windowHeight = $(window).height();
var sidebarHeight = $(Selector.sidebar).height() || 0;
var sidebarHeight = $(Selector.sidebar).outerHeight() || 0;
// Set the min-height of the content and sidebar based on
// the height of the document.

File diff suppressed because one or more lines are too long