Sindbad~EG File Manager

Current Path : /var/www/html/cibahia.sumar.com.py/wp-content/plugins/peepso-files/assets/js/
Upload File :
Current File : /var/www/html/cibahia.sumar.com.py/wp-content/plugins/peepso-files/assets/js/admin.js

jQuery(function ($) {
	let $enable = $('input[name=fileuploads_enable]');

	// Toggle file upload configs.
	$enable.on('click', function () {
		let $field = $(this).closest('.form-group');
		let $box = $field.closest('.postbox');
		let $targetFields = $field.nextAll();
		let $targetBoxes = $box.closest('#peepso').find('.postbox').not($box);

		if (this.checked) {
			$targetFields.show();
			$targetBoxes.show();
		} else {
			$targetFields.hide();
			$targetBoxes.hide();
		}
	});

	$enable.triggerHandler('click');
});

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists