| Server IP : 54.36.91.62 / Your IP : 216.73.216.15 Web Server : Apache System : Linux webm021.cluster127.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : uxhactp ( 169076) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/u/x/h/uxhactp/www/wp-content/themes/bridge/js/ |
Upload File : |
(function($) {
"use strict";
$(document).ready(function($){
initQodeLike();
});
function initQodeLike(){
$(document).on('click','.qode-like', function() {
var likeLink = $(this);
var id = $(this).attr('id');
if(likeLink.hasClass('liked')) return false;
var type = '';
if(typeof likeLink.data('type') !== 'undefined') {
type = likeLink.data('type');
}
var $dataToPass = {
action: 'qode_like',
likes_id: id,
type: type
}
$.ajax({
method: 'POST',
url: qodeLike.ajaxurl,
data: $dataToPass,
success: function(data) {
likeLink.html(data).addClass('liked').attr('title','You already like this!');
likeLink.find('span').css('opacity',1);
}
});
return false;
});
}
})(jQuery)