aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-09-06 10:08:55 +0200
committerMario Vavti <mario@mariovavti.com>2018-09-06 10:08:55 +0200
commit673a2f67f16c00042aaf1394e42e88e2ad4dc20b (patch)
treece14a2c3679893d40bb4f733952ac8cd22bcf461 /view/theme
parentea381d918021a33a73df40de95fd0c57f0edc5c2 (diff)
downloadvolse-hubzilla-673a2f67f16c00042aaf1394e42e88e2ad4dc20b.tar.gz
volse-hubzilla-673a2f67f16c00042aaf1394e42e88e2ad4dc20b.tar.bz2
volse-hubzilla-673a2f67f16c00042aaf1394e42e88e2ad4dc20b.zip
sticky-kit: improve handling
Diffstat (limited to 'view/theme')
-rw-r--r--view/theme/redbasic/js/redbasic.js18
1 files changed, 2 insertions, 16 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index c905c92cb..70d196a02 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -18,26 +18,12 @@ $(document).ready(function() {
$('#css3-calc').remove(); // Remove the test element
if($(window).width() >= 992) {
- $('#left_aside_wrapper').stick_in_parent({
- offset_top: parseInt($('aside').css('padding-top')),
- parent: 'main',
- spacer: '#left_aside_spacer'
- });
- }
-
- if($(window).width() >= 992) {
- $('#right_aside_wrapper').stick_in_parent({
+ $('#left_aside_wrapper, #right_aside_wrapper').stick_in_parent({
offset_top: parseInt($('aside').css('padding-top')),
- parent: 'main',
- spacer: '#right_aside_spacer'
+ parent: 'main'
});
}
-
- $('#notifications_wrapper.fs #notifications').stick_in_parent({
- parent: '#notifications_wrapper'
- });
-
$('#expand-aside').on('click', toggleAside);
$('section').on('click', function() {