PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
themes
/
rehub
/
js
jQuery(document).ready(function() { jQuery(".user-review-vote").on("click", ".us-rev-vote-up:not(.alreadycomment)", function(e){ e.preventDefault(); var post_id = jQuery(this).data("post_id"); var informer = jQuery(this).data("informer"); jQuery(this).addClass('alreadycomment').parent().find('.us-rev-vote-down').addClass('alreadycomment'); jQuery('#commhelp' + post_id + ' .fa-thumbs-up').removeClass('fa-thumbs-up').addClass('fa-spinner fa-spin'); jQuery.ajax({ type: "post", url: cplus_var.url, data: "action=commentplus&cplusnonce="+cplus_var.nonce+"&comm_help=plus&post_id="+post_id, success: function(count){ jQuery('#commhelp' + post_id + ' .fa-spinner').removeClass('fa-spinner fa-spin').addClass('fa-thumbs-up'); informer=informer+1; jQuery('#commhelpplus' + post_id + '').text(informer); } }); return false; }) jQuery(".user-review-vote").on("click", ".us-rev-vote-down:not(.alreadycomment)", function(e){ e.preventDefault(); var post_id = jQuery(this).data("post_id"); var informer = jQuery(this).data("informer"); jQuery(this).addClass('alreadycomment').parent().find('.us-rev-vote-up').addClass('alreadycomment'); jQuery('#commhelp' + post_id + ' .fa-thumbs-down').removeClass('fa-thumbs-down').addClass('fa-spinner fa-spin'); jQuery.ajax({ type: "post", url: cplus_var.url, data: "action=commentplus&cplusnonce="+cplus_var.nonce+"&comm_help=minus&post_id="+post_id, success: function(count){ jQuery('#commhelp' + post_id + ' .fa-spinner').removeClass('fa-spinner fa-spin').addClass('fa-thumbs-down'); informer=informer+1; jQuery('#commhelpminus' + post_id + '').text(informer); } }); return false; }); jQuery(".user-review-vote").on("click", ".alreadycomment", function(e){ jQuery(this).parent().find('.already_commhelp').fadeIn().fadeOut(1000); }); })
[+]
..
[-] custom.js
[edit]
[-] masonry_init_infauto.js
[edit]
[-] masonry_init_scroll_on_click.js
[edit]
[-] customizer.js
[edit]
[-] masonry_init.js
[edit]
[-] printcoupon.js
[edit]
[-] jquery.justifiedGallery.min.js
[edit]
[-] masonry.pkgd.min.js
[edit]
[-] modulobox.min.js
[edit]
[-] theme-customizer.js
[edit]
[-] video_playlist.js
[edit]
[-] typehead.js
[edit]
[-] jquery.totemticker.js
[edit]
[-] jquery.nouislider.full.min.js
[edit]
[-] affegg_coupons.js
[edit]
[-] jquery.tablesorter.min.js
[edit]
[-] postviews.js
[edit]
[-] jquery.waypoints.min.js
[edit]
[-] meta-boxes-post.js
[edit]
[-] jquery.sticky.js
[edit]
[-] jquery.infinitescroll.min.js
[edit]
[-] comparechart.js
[edit]
[-] custom_floatpanel.js
[edit]
[-] jquery.flexslider-min.js
[edit]
[-] owl.carousel.min.js
[edit]
[-] jquery.carouFredSel-6.2.1-packed.js
[edit]
[-] clipboard.min.js
[edit]
[-] commentplus_re.js
[edit]
[-] imagesloaded.pkgd.min.js
[edit]
[-] nouislider.min.js
[edit]
[-] stickysidebar.js
[edit]
[-] html5shiv.js
[edit]
[-] jquery.touchSwipe.min.js
[edit]
[-] custom_scroll.js
[edit]
[-] jquery.lwtCountdown-1.0.js
[edit]