Current Path : /storage/v11800/abaniliving-com/public_html/wp-content/plugins/under-construction-page/wf-flyout/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/abaniliving-com/public_html/wp-content/plugins/under-construction-page/wf-flyout/wf-flyout.js |
/**
* Universal fly-out menu for WebFactory plugins
* (c) WebFactory Ltd, 2023
*/
jQuery(document).ready(function ($) {
$('#wff-button').on('click', function (e) {
e.preventDefault();
$('#wf-flyout').toggleClass('opened');
$('#wff-overlay').toggle();
return false;
}); // open/close menu
$('#wff-overlay').on('click', function (e) {
e.preventDefault();
$(this).hide();
$('#wf-flyout').removeClass('opened');
return false;
}); // click on overlay - hide menu
}); // jQuery ready