This commit is contained in:
Kevin Adametz 2024-08-05 12:05:24 +02:00
parent 04d677d37a
commit bfa3bb1df4
1191 changed files with 637397 additions and 10619 deletions

View file

@ -742,7 +742,12 @@
// Slide Panel
jQuery("a#sidepanel_btn").bind("click", function(e) {
e.preventDefault();
_sidepanel_open();
});
function _sidepanel_open() {
_pos = "right";
if(jQuery("#sidepanel").hasClass('sidepanel-inverse')) {
_pos = "left";
@ -775,8 +780,7 @@
}
_sidepanel_overlay();
});
}
// button close
jQuery("#sidepanel_close").bind("click", function(e) {
e.preventDefault();
@ -798,6 +802,10 @@
}
});
if(jQuery("#sidepanel").data('init')){
jQuery("a#sidepanel_btn").trigger('click');
}
/** OVERLAY MENU