HEX
Server: Apache
System: Linux webm003.cluster123.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User: vanessatli (59366)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/vanessatli/www/wp-content/plugins/themeisle-companion/obfx_modules/social-sharing/js/admin.js
/**
 * Social Sharing Module Admin Script
 *
 * @since    1.0.0
 * @package obfx_modules/social-sharing/js
 *
 * @author    ThemeIsle
 */

var obfx_sharing_module_admin = function( $ ) {
	'use strict';

	$(
		function() {
				$( '.network-toggle input:checkbox:not(:checked)' ).each(
					function () {
						$( this ).parents( '.obfx-row' ).find( '.show input' ).attr( 'disabled', true ).parent().addClass( 'obfxHiddenOption' );
					}
				);

				$( '.network-toggle input' ).on(
					'change', function () {
						if ( $( this ).is( ':checked' ) ) {
							$( this ).parents( '.obfx-row' ).find( '.show input' ).attr( 'disabled', false ).parent().removeClass( 'obfxHiddenOption' );
						} else {
							$( this ).parents( '.obfx-row' ).find( '.show input' ).attr( 'disabled', true ).parent().addClass( 'obfxHiddenOption' );
						}
					}
				);

		}
	);

};

obfx_sharing_module_admin( jQuery );