diff --git a/view/theme/plusfuture/js/plusfuture.js b/view/theme/plusfuture/js/plusfuture.js index 688089a..fbdc584 100644 --- a/view/theme/plusfuture/js/plusfuture.js +++ b/view/theme/plusfuture/js/plusfuture.js @@ -137,8 +137,8 @@ function toggleAside() { function toggleBside() { if ($('main').hasClass('region_3-on')) { $('html, body').css('overflow-x', ''); - $('main').css('left', '-288px'); - $('main').css('width', 'calc( 100% + 288px )'); + $('main').css('left', ''); + $('main').css('width', ''); $('main').removeClass('region_3-on') $('#region_3').addClass('d-none') $('#overlay').remove(); @@ -148,8 +148,6 @@ function toggleBside() { $('html, body').css('overflow-x', 'hidden'); $('main').css('left', '-576px'); $('main').css('width', 'calc( 100% + 288px + 288px )'); - - $('main').addClass('region_3-on') $('#region_3').removeClass('d-none') $('
').appendTo('section');