PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/princesspicnicevents.com/wp-content/themes/soledad/js/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/princesspicnicevents.com/wp-content/themes/soledad/js/reviews.js

(function($){
	$(document ).ready(function(){
		var $rates = $('#add_comment_rating_wrap'),
			path = $rates.data('assets_path' ),
			default_rating = 4;

		if ( typeof $('#add_post_rating').attr('data-pccm_rating') !== 'undefined' ) {
			default_rating = $('#add_post_rating').attr('data-pccm_rating');
		}

		$rates.raty({
			half: false,
			target : '#add_post_rating',
			hints: '',
			path: path,
			targetKeep : true,
			//targetType : 'score',
			targetType : 'hint',
			//precision  : true,
			score: default_rating,
			scoreName: 'pccm_rating',
			click: function(rating, evt) {
				$('#add_post_rating' ).val( '' + rating );
				$('#add_post_rating option[value="' + rating + '"]' ).attr( 'selected', 'selected' );
			},
			starType : 'i'
		});

		$('.review_rate' ).raty({
			readOnly: true,
			target : this,
			half: false,
			starType : 'i',
			score: function() {
				return $(this).attr('data-pccm_rating');
			},
			scoreName: 'pccm_rating'
		});
	});
})(jQuery);