HEX
Server: LiteSpeed
System: Linux altar40.supremepanel40.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: sescorpcl (4477)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: /home/sescorpcl/public_html/wp-content/themes/naturelle/js/naturelle_customizer.js
/**
 * Theme Customizer enhancements for a better user experience.
 *
 * Contains handlers to make Theme Customizer preview reload changes asynchronously.
 */

( function( $ ) {

    /* About us button */
    wp.customize( 'naturelle_our_story_button', function(value) {
        value.bind(function( to ) {

            if( to !== '' ) {
                $( '.standard-button-story' ).removeClass( 'llorix_one_lite_only_customizer' );
            } else {
                $( '.standard-button-story' ).addClass( 'llorix_one_lite_only_customizer' );
            }
            $( '.standard-button-story' ).text( to );

        } );
    });

    /* Logis title */
    wp.customize( 'naturelle_logos_title', function(value) {
        value.bind(function( to ) {

            if( to !== '' ) {
                $( '.clients h2' ).removeClass( 'llorix_one_lite_only_customizer' );
            } else {
                $( '.clients h2' ).addClass( 'llorix_one_lite_only_customizer' );
            }
            $( '.clients h2' ).text( to );

        } );
    });


} )( jQuery );