403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Old Sites/ict/wp-content/plugins/so-widgets-bundle/widgets/post-carousel/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Old Sites/ict/wp-content/plugins/so-widgets-bundle/widgets/post-carousel/js/script.js
/* globals jQuery, sowb */

var sowb = window.sowb || {};

jQuery( function ( $ ) {
	$( sowb ).on( 'carousel_load_new_items', function( e, carousel, $items, refocus  ) {
		if (  carousel.data( 'widget' ) == 'post' && ! carousel.data( 'fetching' ) ) {
			// Fetch the next batch
			carousel.data( 'fetching', true );
			var page = carousel.data( 'page' ) + 1;

			$items.slick( 'slickAdd', '<div class="sow-carousel-item sow-carousel-loading"></div>' );
			$.get(
				carousel.data( 'ajax-url' ),
				{
					action: 'sow_carousel_load',
					paged: page,
					instance_hash: carousel.parent().parent().find( 'input[name="instance_hash"]' ).val()
				},
				function ( data ) {
					$items.find( '.sow-carousel-loading' ).remove();
					$items.slick( 'slickAdd', data.html );
					carousel.data( 'fetching', false );
					carousel.data( 'page', page );

					if ( refocus ) {
						$items.find( '.sow-carousel-item[tabindex="0"]' ).trigger( 'focus' );
					}

					$( sowb ).trigger( 'carousel_posts_added' );
				}
			);
		}
	} );
} );

window.sowb = sowb;

Youez - 2016 - github.com/yon3zu
LinuXploit