HEX
Server: LiteSpeed
System: Linux houston.panomity.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User: nudepix (1011)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /home/nudepix.eu/public_html/wp-content/plugins/cookie-notice/js/admin.js
( function ( $ ) {

    $( document ).ready( function () {

	// initialize color picker
	$( '.cn_color' ).wpColorPicker();

	// refuse option
	$( '#cn_refuse_opt' ).change( function () {
	    if ( $( this ).is( ':checked' ) ) {
		$( '#cn_refuse_opt_container' ).slideDown( 'fast' );
	    } else {
		$( '#cn_refuse_opt_container' ).slideUp( 'fast' );
	    }
	} );

	// read more option
	$( '#cn_see_more' ).change( function () {
	    if ( $( this ).is( ':checked' ) ) {
		$( '#cn_see_more_opt' ).slideDown( 'fast' );
	    } else {
		$( '#cn_see_more_opt' ).slideUp( 'fast' );
	    }
	} );

	// read more option
	$( '#cn_on_scroll' ).change( function () {
	    if ( $( this ).is( ':checked' ) ) {
		$( '#cn_on_scroll_offset' ).slideDown( 'fast' );
	    } else {
		$( '#cn_on_scroll_offset' ).slideUp( 'fast' );
	    }
	} );

	// read more link
	$( '#cn_see_more_link-custom, #cn_see_more_link-page' ).change( function () {
	    if ( $( '#cn_see_more_link-custom:checked' ).val() === 'custom' ) {
		$( '#cn_see_more_opt_page' ).slideUp( 'fast', function () {
		    $( '#cn_see_more_opt_link' ).slideDown( 'fast' );
		} );
	    } else if ( $( '#cn_see_more_link-page:checked' ).val() === 'page' ) {
		$( '#cn_see_more_opt_link' ).slideUp( 'fast', function () {
		    $( '#cn_see_more_opt_page' ).slideDown( 'fast' );
		} );
	    }
	} );

	$( document ).on( 'click', 'input#reset_cookie_notice_options', function () {
	    return confirm( cnArgs.resetToDefaults );
	} );

    } );

} )( jQuery );