aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/js/redbasic.js
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:55:25 +0100
commit3e0ea9727fd73daafea5597e76fab8eed252f215 (patch)
tree1b5c0e798b179cedb845f62cd7a88d5095e7137c /view/theme/redbasic/js/redbasic.js
parenta1b35fb7d13c610ac6923e6162dd163312160c9a (diff)
downloadvolse-hubzilla-3e0ea9727fd73daafea5597e76fab8eed252f215.tar.gz
volse-hubzilla-3e0ea9727fd73daafea5597e76fab8eed252f215.tar.bz2
volse-hubzilla-3e0ea9727fd73daafea5597e76fab8eed252f215.zip
same fix for mobile view
Diffstat (limited to 'view/theme/redbasic/js/redbasic.js')
-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'
});
}
}