Remove all plugins / install base theme

This commit is contained in:
Tony Volpe
2024-06-18 16:14:48 -04:00
parent ecc33d62f0
commit 95cb30b884
7455 changed files with 0 additions and 1722920 deletions

View File

@@ -1,45 +0,0 @@
window.addEventListener( 'load' , function() {
var $selectOptions = document.querySelectorAll( '.gform-settings-field__select_custom select' );
var $buttons = document.querySelectorAll( '.gform-settings-select-custom__reset' );
$selectOptions.forEach( function( $select ) {
var $inputField = $select.parentNode.nextSibling;
$select.addEventListener( 'change', function( e ) {
if ( e.target.value !== 'gf_custom' ) {
return;
}
// Hide drop down, show input.
$select.style.display = 'none';
$inputField.style.display = 'block';
} );
} );
$buttons.forEach( function( $button ) {
var $inputField = $button.parentNode;
$button.addEventListener( 'click', function( e ) {
// Hide input, show drop down.
$inputField.style.display = 'none';
jQuery( this )
.closest('div.gform-settings-field__select_custom')
.find( 'select' )
.each( function( index, element ) {
element.value = '';
element.style.display = 'block';
}
);
} );
} );
} );