css fixes and get rid of a javascript workaround

This commit is contained in:
Mario Vavti
2016-12-30 13:35:43 +01:00
parent c9cbd2f4f6
commit 8a074dedb6
3 changed files with 3 additions and 11 deletions

View File

@@ -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();
}