File "rmp-elementor-20240930213526.js"
Full Path: /home/vantageo/public_html/cache/.wp-cli/wp-content/plugins/responsive-menu/v4.0.0/assets/admin/js/rmp-elementor-20240930213526.js
File size: 620 bytes
MIME-type: text/plain
Charset: utf-8
/**
* This file contain the scripts related to responsive menu and elementor based features.
*
* @since 4.0.2
*/
jQuery( document ).ready( function() {
/**
* Fires the event when change menu the responsive menu widget.
*
* @fires change
*/
jQuery(document).on( 'change', 'select[data-setting="rmp_menu"]', (e) => {
let menu_id = jQuery( e.target ).val();
const link = jQuery( e.target ).parents('.elementor-control-content').find('.rmp-menu-edit-link');
var href = new URL( link.attr( 'href' ) );
href.searchParams.set( 'post', menu_id );
link.attr( 'href', href.toString() );
} );
} );