PageSourceSearch

https://internazionaliparma.com/wp-content/themes/superfine/assets/js/post-like.min.js?ver=1.0

js internazionaliparma.com collected 2026-10-03 02:34:56 UTC 1,337 bytes, 33 lines download raw bytes

1jQuery(document).ready(function() {
2    
3    jQuery('body').on('click', '.jm-post-like', function(event) {
4        event.preventDefault();
5        
6        var lk = jQuery(this).parent().find('.lk').text(),
7            unlk = jQuery(this).parent().find('.unlk').text();
8
9        var heart = jQuery(this);
10        post_id = heart.data("post_id");
11        heart.html("<i id='icon-like' class='fa fa-heart'></i>");
12        jQuery.ajax({
13            type: "post",
14            url: ajax_var.url,
15            data: "action=jm-post-like&nonce=" + ajax_var.nonce + "&jm_post_like=&post_id=" + post_id,
16            success: function(count) {
17                if (count.indexOf("already") !== -1) {
18                    var lecount = count.replace("already", "");
19                    if (lecount === "0") {
20                        lecount = lk
21                    }
22                    heart.prop('title', lk);
23                    heart.removeClass("liked");
24                    heart.html("<i id='icon-unlike' class='fa fa-heart-o'></i>&nbsp;" + lecount)
25                } else {
26                    heart.prop('title', unlk);
27                    heart.addClass("liked");
28                    heart.html("<i id='icon-like' class='fa fa-heart'></i>&nbsp;" + count)
29                }
30            }
31        })
32    })
33});

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.