No longer used
This commit is contained in:
parent
a8254987ea
commit
18a4b4bf8e
|
@ -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();
|
||||
}
|
||||
});
|
||||
});
|
Reference in New Issue