PageSourceSearch

https://imeemarcos.ph/wp-content/themes/wp-candidate/js/post_favorite.js?ver=1.0

js imeemarcos.ph collected 2026-10-10 01:21:30 UTC 809 bytes, 29 lines download raw bytes

1(function($) { "use strict";
2jQuery(document).ready(function($){
3	$('body').on('click','.nectar-love', function() {
4			var $loveLink = $(this);
5			var $icon = $(this).find('i');
6			var $id = $(this).attr('id');
7			var $that = $(this);
8
9			if($loveLink.hasClass('loved')) return false;
10			if($(this).hasClass('inactive')) return false;
11
12			var $dataToPass = {
13				action: 'nectar-love',
14				loves_id: $id
15			}
16
17			$.post(nectarLove.ajaxurl,$dataToPass, function(data){
18				$loveLink.find('span').html(data);
19				$loveLink.addClass('loved').attr('title','You already love this!');
20				$icon.removeClass('fa-heart-o').addClass('fa-heart');
21				$loveLink.find('span').css({'opacity': 1,'width':'auto'});
22			});
23
24			$(this).addClass('inactive');
25
26			return false;
27	});
28});
29})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.