aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/js/redbasic.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-12-30 13:35:43 +0100
committerMario Vavti <mario@mariovavti.com>2016-12-30 13:35:43 +0100
commit8a074dedb6ded00589ea9890fd6b40789cf920ce (patch)
tree71621bea2d4961e445c82f9d73114f64940f334a /view/theme/redbasic/js/redbasic.js
parentc9cbd2f4f6cb432c6558bd88d783b356f0311a09 (diff)
downloadvolse-hubzilla-8a074dedb6ded00589ea9890fd6b40789cf920ce.tar.gz
volse-hubzilla-8a074dedb6ded00589ea9890fd6b40789cf920ce.tar.bz2
volse-hubzilla-8a074dedb6ded00589ea9890fd6b40789cf920ce.zip
css fixes and get rid of a javascript workaround
Diffstat (limited to 'view/theme/redbasic/js/redbasic.js')
-rw-r--r--view/theme/redbasic/js/redbasic.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index e31458b4e..b7993ce90 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -30,13 +30,6 @@ $(document).ready(function() {
}
});
- $(window).on('scroll', function() {
- if($('main').hasClass('region_1-on') && $(window).scrollLeft() > 5){
- $(window).scrollLeft(0);
- toggleAside();
- }
- });
-
if($('aside').length && $('aside').html().length === 0) {
$('#expand-aside').hide();
}