HEX
Server: Apache
System: Linux webd006.cluster128.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: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/coolswim/wp-content/plugins/wpopal-themer/assets/js/customizer_icon.js
(function(a) {
    a(window).load(function() {
        a('div[id^="opal-radio-image-"]').each(function() {
            var b = a(this);
            b.id = b.attr("id").replace("radio-image-", "").replace("[", "-").replace("]", "");
            //alert(b.id);
            b.find(".opal-radio-image").click(function(event) {
                if (!a(this).hasClass("selected")) {
                    a(this).parent().children(".selected").removeClass("selected");
                    a(this).addClass("selected");
                    if (!a(this).children('input[type="radio"]').attr("checked")) {
                        a(this).children('input[type="radio"]').click();
                    }

                    wp.customize.bind( 'preview-ready', function () {
                        wp.customize.control(b.id).setting.set(a(this).children('input[type="radio"]').val());
                        //wp.customize.previewer.refresh();
                    });
                    event.preventDefault();
                }
            });
        });
    });
})(jQuery);