1
0
Fork 0

No longer used

This commit is contained in:
ryliejamesthomas 2020-03-19 16:23:14 +11:00
parent a8254987ea
commit 18a4b4bf8e
1 changed files with 0 additions and 14 deletions

View File

@ -1,14 +0,0 @@
jQuery(document).ready(function($){
//open the lateral panel
$('.cd-btn').on('click', function(event){
event.preventDefault();
$('.cd-panel').addClass('is-visible');
});
//clode the lateral panel
$('.cd-panel').on('click', function(event){
if( $(event.target).is('.cd-panel') || $(event.target).is('.cd-close') ) {
$('.cd-panel').removeClass('is-visible');
event.preventDefault();
}
});
});