diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-12-01 21:30:18 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-12-01 21:30:18 +0100 |
commit | 8d4f6a7865faeeccf984083597893bb131437ecf (patch) | |
tree | 2b5857ffd88fb3846440927b841bbd99eadb6dec /view | |
parent | cded6b11366e15d6d4ac3eb6d9f86f4d0a60fa7c (diff) | |
download | volse-hubzilla-8d4f6a7865faeeccf984083597893bb131437ecf.tar.gz volse-hubzilla-8d4f6a7865faeeccf984083597893bb131437ecf.tar.bz2 volse-hubzilla-8d4f6a7865faeeccf984083597893bb131437ecf.zip |
redbasic sticky aside fixes
Diffstat (limited to 'view')
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 6 |
1 files changed, 3 insertions, 3 deletions
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') $('<div id="overlay"></div>').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' }); } } |