aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/js/redbasic.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index 1ce1a6d89..0ae81f93e 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -186,6 +186,7 @@ function toggleAside(swipe) {
}
if (!$('main').hasClass('region_1-on') && swipe === 'right') {
$('#expand-aside-icon').removeClass('fa-arrow-circle-right').addClass('fa-arrow-circle-left');
+ $(window).scrollTop(0);
$('html, body').css('overflow-x', 'hidden');
$('main').addClass('region_1-on');
$('<div id="overlay"></div>').appendTo('section');