From f0d479e0ab8313a1a0a1aa0875c954af36fb74f1 Mon Sep 17 00:00:00 2001 From: harukin Date: Sun, 18 Nov 2018 17:38:08 +0900 Subject: [PATCH] --- view/theme/plusfuture/js/plusfuture.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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');