HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/image-size-field.js.tar
httpdocs/wp-content/plugins/so-widgets-bundle/base/inc/fields/js/image-size-field.js000064400000000742151555066510033001 0ustar00var/www/vhosts/uyarreklam.com.tr/* global jQuery, soWidgets */

( function( $ ) {

	$( document ).on( 'sowsetupformfield', '.siteorigin-widget-field-type-image-size', function( e ) {
		var $$ = $( this ),
			custom_size_wrapper = $$.find( '.custom-size-wrapper' );

		$$.find( 'select.siteorigin-widget-input' ).on( 'change', function() {
			if ( $( this ).val() == 'custom_size' ) {
				custom_size_wrapper.show();
			} else {
				custom_size_wrapper.hide();
			}
		} ).trigger( 'change' );
	} );

}( jQuery ) );