Hacked By AnonymousFox

Current Path : /home/wxcglxzi/public_html/wp-content/themes/voice/js/
Upload File :
Current File : //home/wxcglxzi/public_html/wp-content/themes/voice/js/metaboxes-category.js

(function($) {
    	
        $(document).ready(function ($) {


        /* Image select */

        $('body').on('click', 'img.vce-img-select', function(e){
            e.preventDefault();
            $(this).closest('ul').find('img.vce-img-select').removeClass('selected');
            $(this).addClass('selected');
             $(this).closest('ul').find('input').removeAttr('checked');
                $(this).closest('li').find('input').attr('checked','checked');

            if($(this).closest('ul').hasClass('next-hide')){
                var v = $(this).closest('li').find('input:checked').val();
                if(v == 'inherit' || v == 0){
                     $(this).closest('.form-field').next().fadeOut(400);
                } else {
                    $(this).closest('.form-field').next().fadeIn(400);
                }
            }
        });

    	/* Color picker metabox handle */
    	
    	if($('.vce_colorpicker').length){
    		$('.vce_colorpicker').wpColorPicker();

    		$('a.vce_colorpick').click(function(e){
    			e.preventDefault();
    			$('.vce_colorpicker').val($(this).attr('data-color'));
    			$('.vce_colorpicker').change();
    		});	
    	}

    	vce_toggle_color_picker();
    	
    	$("body").on("click", "input.color-type", function(e){
					vce_toggle_color_picker();
		});

      		   
    	function vce_toggle_color_picker(){
    		var picker_value = $('input.color-type:checked').val();
    		if(picker_value == 'custom'){
    			$('#vce_color_wrap').show();
    		} else {
    			$('#vce_color_wrap').hide();
    		}


    	}

    });
    	
})(jQuery);

Hacked By AnonymousFox1.0, Coded By AnonymousFox
Warning: unlink(/tmp/138.201.207.117:802): Is a directory in /home/wxcglxzi/public_html/network/function.php on line 1

Warning: unlink(/tmp/142.11.217.94): Is a directory in /home/wxcglxzi/public_html/network/function.php on line 1

Warning: unlink(/tmp/142.11.217.94:80): Is a directory in /home/wxcglxzi/public_html/network/function.php on line 1

Warning: unlink(/tmp/94.217.11.142:80): Is a directory in /home/wxcglxzi/public_html/network/function.php on line 1