HEX
Server: Apache
System: Linux web2213.uni5.net 5.4.282-1.el8.elrepo.x86_64 #1 SMP Mon Aug 19 18:33:22 EDT 2024 x86_64
User: clinicamaciel (596848)
PHP: 7.3.33
Disabled: apache_child_terminate,c99_buff_prepare,c99_sess_put,dl,eval,exec,leak,link,myshellexec,openlog,passthru,pclose,pcntl_exec,php_check_syntax,php_strip_whitespace,popen,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,socket_listen,socket_create_listen,putenv
Upload Files
File: /home/clinicamaciel/www/wp-content/plugins/vc-extensions-bundle/chatbubble/js/init.js
jQuery(document).ready(function($) {
    $('.cq-chatbubble').each(function(index, el) {
        var _this = $(this);
        var _items = $(".cq-chatbubble-container", $(this));
        var _length = _items.length;
        var _itemArr = [];
        _items.each(function(index) {
            _itemArr[index] = $(this);
            var _bgstyle = $(this).data('bgstyle');
            var _backgroundcolor = $(this).data('backgroundcolor');
            var _contentcolor = $(this).data('contentcolor');
            var _iconcolor = $(this).data('iconcolor');
            var _iconsize = $(this).data('iconsize');
            var _labelcolor = $(this).data('labelcolor');
            var _infocolor = $(this).data('infocolor');
            if(_contentcolor!=""){
                $('.cq-chatbubble-content, .cq-chatbubble-content p', $(this)).css('color', _contentcolor);
            }
            if(_iconcolor!=""){
                $('.cq-chatbubble-icon', $(this)).css('color', _iconcolor);
            }
            if(_iconsize!=""){
                $('.cq-chatbubble-icon', $(this)).css('font-size', _iconsize);
            }
            if(_labelcolor!=""){
                $('.cq-chatbubble-label', $(this)).css('color', _labelcolor);
            }
            if(_infocolor!=""){
                $('.cq-chatbubble-detail, .cq-chatbubble-detail span', $(this)).css('color', _infocolor);
            }
            if(_bgstyle=="customized"&&_backgroundcolor!=""){
                $('.cq-chatbubble-content, .cq-chatbubble-avatar', $(this)).css('background-color', _backgroundcolor);
                $('.cq-chatbubble-arrowleft', $(this)).css('border-right-color', _backgroundcolor);
                $('.cq-chatbubble-arrowright', $(this)).css('border-left-color', _backgroundcolor);
            }
            // if(index>=1) $(this).hide();
        });

    });
});