mirror of https://github.com/ColorlibHQ/AdminLTE
Fix isse #683
parent
1a29b58111
commit
db51bd8b98
|
@ -502,9 +502,13 @@ function _init() {
|
|||
if ($("body").hasClass('layout-boxed')) {
|
||||
sidebar.css('position', 'absolute');
|
||||
sidebar.height($(".wrapper").height());
|
||||
if (_this.hasBindedResize) {
|
||||
return;
|
||||
}
|
||||
$(window).resize(function () {
|
||||
_this._fix(sidebar);
|
||||
});
|
||||
_this.hasBindedResize = true;
|
||||
} else {
|
||||
sidebar.css({
|
||||
'position': 'fixed',
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue