| Server IP : 87.98.154.146 / Your IP : 216.73.216.165 Web Server : Apache System : Linux webm004.cluster126.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : ohklomafyi ( 52085) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/ohklomafyi/www/wp-content/themes/oceanwp/inc/customizer/controls/typo/ |
Upload File : |
wp.customize.controlConstructor['oceanwp-typo'] = wp.customize.Control.extend({
// When we're finished loading continue processing.
ready: function() {
'use strict';
var control = this,
element = this.container.find( 'select' );
jQuery( element ).select2( {
minimumResultsForSearch: 10,
dropdownCssClass: 'oceanwp-select2',
width: '100%'
} );
control.container.on( 'change', '.typography-font-family select',
function() {
control.settings['family'].set( jQuery( this ).val() );
}
);
control.container.on( 'change', '.typography-font-size input',
function() {
control.settings['size'].set( jQuery( this ).val() );
}
);
control.container.on( 'change', '.typography-font-weight select',
function() {
control.settings['weight'].set( jQuery( this ).val() );
}
);
control.container.on( 'change', '.typography-font-style select',
function() {
control.settings['style'].set( jQuery( this ).val() );
}
);
control.container.on( 'change', '.typography-text-transform select',
function() {
control.settings['transform'].set( jQuery( this ).val() );
}
);
control.container.on( 'change', '.typography-line-height input',
function() {
control.settings['line_height'].set( jQuery( this ).val() );
}
);
control.container.on( 'change', '.typography-letter-spacing input',
function() {
control.settings['spacing'].set( jQuery( this ).val() );
}
);
}
});