File Editor
Directories:
.. (Back)
Files:
dropdown.js
editor-view.js
grunion-admin.js
grunion-frontend.js
grunion.js
tinymce-plugin-form-button.js
Create New File
Create
Edit File: dropdown.js
jQuery( function ( $ ) { $( document ).ready( function () { initializeSelectMenu(); const observer = new MutationObserver( () => { initializeSelectMenu(); } ); observer.observe( document.querySelector( 'body' ), { childList: true, subtree: true, } ); } ); function initializeSelectMenu() { $( '.contact-form .contact-form-dropdown' ) .selectmenu( { classes: { 'ui-selectmenu-button': 'contact-form-dropdown__button', 'ui-selectmenu-menu': 'contact-form-dropdown__menu', }, } ) .attr( 'aria-hidden', true ) .prop( 'tabindex', -1 ); } } );
Save Changes
Rename File
Rename