From 3e0ea9727fd73daafea5597e76fab8eed252f215 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 5 Jan 2017 17:54:44 +0100 Subject: same fix for mobile view --- view/theme/redbasic/js/redbasic.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'view') diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 4194b8f25..3ff0c43ae 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -107,7 +107,9 @@ function toggleAside() { $('main').addClass('region_1-on') $('
').appendTo('section'); $('#left_aside_wrapper').stick_in_parent({ - offset_top: $('nav').outerHeight(true) - 10 + offset_top: $('nav').outerHeight(true) - 10, + parent: '#region_1', + spacer: '#left_aside_spacer' }); } } -- cgit v1.2.3