aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/js/redbasic.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index b0b8d5dfc..35811b524 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -139,12 +139,12 @@ function makeFullScreen(full) {
function toggleAside() {
$('#expand-aside-icon').toggleClass('fa-arrow-circle-right').toggleClass('fa-arrow-circle-left');
if($('main').hasClass('region_1-on')){
- $('html, body').css('overflow-x', '');
+ $('html, body').css({ 'position': '', 'left': '' });
$('main').removeClass('region_1-on')
$('#overlay').remove();
}
else {
- $('html, body').css('overflow-x', 'hidden');
+ $('html, body').css({ 'position': 'sticky', 'left': 0 });
$('main').addClass('region_1-on')
$('<div id="overlay"></div>').appendTo('section');
}