all interface is now responsive

This commit is contained in:
2021-12-07 17:10:59 +01:00
parent 62a9afcc33
commit c634eb80f3
7 changed files with 477 additions and 190 deletions
@@ -24,14 +24,18 @@ Drupal.behaviors.init_theme.attach = function (context) {
}
});
if(!$('body').is('.front') && !$('body').is('.node-type-performance')){
$('#main').jScrollPane({autoReinitialise:true, hijackInternalLinks:true});
}
// DON'T USE JSCROLLPANE FOR NORMAL PAGES ANYMORE
// if(!$('body').is('.front') && !$('body').is('.node-type-performance')){
// $('#main').jScrollPane({autoReinitialise:true, hijackInternalLinks:true});
// }
$('#block-menu-block-2 ul.menu').listnav({cookieName:'test', attribute:'nom'});
$('.burger-icon').click(function(){
$('body').toggleClass('burger-shown');
$('.burger-icon.header').click(function(){
$('body').toggleClass('burger-header-shown');
});
$('.burger-icon.sidebar-first').click(function(){
$('body').toggleClass('burger-sidebar-first-shown');
});
};