PageSourceSearch

https://bb.abc.br/wp-content/themes/soledad/js/post-like.js?ver=8.5.0

js bb.abc.br collected 2026-09-24 09:46:24 UTC 1,077 bytes, 36 lines download raw bytes

1jQuery( document ).ready( function ($) {
2	jQuery( 'body' ).on( 'click', '.penci-post-like', function ( event ) {
3		event.preventDefault();
4		var $this = jQuery( this ),
5			post_id = $this.data( "post_id" ),
6			like_text = $this.data( "like" ),
7			unlike_text = $this.data( "unlike" ),
8			$selector = $this.children('.dt-share' );
9			if( $this.hasClass( 'single-like-button' ) ) {
10				$selector = $this.parent().find('.count-number-like');
11			}
12		var	$like = parseInt( $selector.text() );
13
14		if ( $this.hasClass( 'single-like-button' ) ) {
15			$selector = $( '.post-share-plike .count-number-like' );
16			$this = $( '.single-like-button' );
17		}
18
19		if ( $this.hasClass( 'liked' ) ) {
20			$this.removeClass( 'liked' );
21			$this.prop( 'title', 'Like' );
22			$selector.html( ( $like - 1 ) );
23		}
24		else {
25			$this.addClass( 'liked' );
26			$this.prop( 'title', 'Unlike' );
27			$selector.html( ( $like + 1 ) );
28		}
29
30		jQuery.ajax( {
31			type: "post",
32			url : ajax_var.url,
33			data: "action=penci-post-like&nonce=" + ajax_var.nonce + "&penci_post_like=&post_id=" + post_id
34		} );
35	} );
36} );

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.