aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-01-05 17:54:44 +0100
committerMario Vavti <mario@mariovavti.com>2017-01-05 17:54:44 +0100
commite64378f94fecd25dd185dc0caa64125a8e85307b (patch)
treec0085257a488d20ea64aed37edf39006f809cd4b
parent888a7aa6b267b6d4c521dcacc8bb14294be54b5d (diff)
downloadvolse-hubzilla-e64378f94fecd25dd185dc0caa64125a8e85307b.tar.gz
volse-hubzilla-e64378f94fecd25dd185dc0caa64125a8e85307b.tar.bz2
volse-hubzilla-e64378f94fecd25dd185dc0caa64125a8e85307b.zip
same fix for mobile view
-rw-r--r--view/theme/redbasic/js/redbasic.js4
1 files changed, 3 insertions, 1 deletions
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')
$('<div id="overlay"></div>').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'
});
}
}