/** * 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 {"code":"rest_missing_callback_param","message":"Missing parameter(s): url","data":{"status":400,"params":["url"]}}