Fix regression after 27ff009

pull/2751/head
XhmikosR 2020-06-02 06:30:15 +03:00
parent 7853dcbd6e
commit be3631930d
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ const Layout = ($ => {
fixLayoutHeight(extra = null) {
let controlSidebar = 0
if ($('body').hasClass(ClassName.CONTROL_SIDEBAR_SLIDE_OPEN) || $('body').hasClass(ClassName.CONTROL_SIDEBAR_OPEN) || extra === 'controlSidebar') {
if ($('body').hasClass(ClassName.CONTROL_SIDEBAR_SLIDE_OPEN) || $('body').hasClass(ClassName.CONTROL_SIDEBAR_OPEN) || extra === 'control_sidebar') {
controlSidebar = $(Selector.CONTROL_SIDEBAR_CONTENT).height()
}
@ -152,7 +152,7 @@ const Layout = ($ => {
this.fixLayoutHeight()
})
.on('expanded.lte.controlsidebar', () => {
this.fixLayoutHeight('controlSidebar')
this.fixLayoutHeight('control_sidebar')
})
$(window).resize(() => {