production : closing agenda don't close the prod
This commit is contained in:
@@ -472,8 +472,9 @@
|
||||
if(theme != ''){
|
||||
_$body.trigger({'type':theme+'-col-closed'});
|
||||
}
|
||||
if(_$body.is('.entity-type-node.bundle-page')){
|
||||
// remove all the col (prod page and agenda in case)
|
||||
if(_$body.is('.entity-type-node.bundle-page') && $(this).next().is('.node--type-page')){
|
||||
// remove all the col (prod page and agenda in case) only if closing the main page col
|
||||
// if closing the aside col (agenda) leave the main col in place
|
||||
$col.add($col.siblings('.col')).remove();
|
||||
}else{
|
||||
// remove the col
|
||||
|
||||
Reference in New Issue
Block a user