From 8d4f6a7865faeeccf984083597893bb131437ecf Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 1 Dec 2018 21:30:18 +0100 Subject: redbasic sticky aside fixes --- view/theme/redbasic/js/redbasic.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'view/theme/redbasic/js') diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 688e92148..8d3b795cc 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -121,9 +121,9 @@ function toggleAside() { $('main').addClass('region_1-on') $('
').appendTo('section'); $('#left_aside_wrapper').stick_in_parent({ - offset_top: $('nav').outerHeight(true) + 10, - parent: '#region_1', - spacer: '#left_aside_spacer' + offset_top: parseInt($('aside').css('padding-top')), + parent: 'main', + spacer: '.aside_spacer' }); } } -- cgit v1.2.3