all interface is now responsive
This commit is contained in:
@@ -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');
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user