HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/RImmers1/new-talent.nl/wwwroot/wp-content/plugins/news-manager/js/admin-widgets.js
jQuery( document ).ready( function ( $ ) {

	$( document ).on( 'change', '.taxonomy-select-tags', function () {
		if ( $( this ).val() === 'selected' ) {
			$( this ).parent().find( '.checkbox-list-tags' ).fadeIn( 300 );
		} else if ( $( this ).val() === 'all' ) {
			$( this ).parent().find( '.checkbox-list-tags' ).fadeOut( 300 );
		}
	} );

	$( document ).on( 'change', '.taxonomy-select-cats', function () {
		if ( $( this ).val() === 'selected' ) {
			$( this ).parent().find( '.checkbox-list-cats' ).fadeIn( 300 );
		} else if ( $( this ).val() === 'all' ) {
			$( this ).parent().find( '.checkbox-list-cats' ).fadeOut( 300 );
		}
	} );
} );