HEX
Server: Apache
System: Linux webd003.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: slyfwmm (169339)
PHP: 8.1.34
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/s/l/y/slyfwmm/pianob/wp-content/plugins/hbook/admin-pages/pages/appearance/appearance.js
jQuery( document ).ready( function( $ ) {
	$( '.hb-color-option' ).wpColorPicker();

	$( 'input[name="hb_inputs_selects_style"]' ).change( function() {
		inputs_selects_style_options();
	});

	inputs_selects_style_options();

	function inputs_selects_style_options() {
		if ( $( 'input[name="hb_inputs_selects_style"]:checked' ).val() != 'custom' ) {
			$( '.hb-inputs-selects-style-options-wrapper' ).slideUp();
		} else {
			$( '.hb-inputs-selects-style-options-wrapper' ).slideDown();
		}
	}

	$( 'input[name="hb_buttons_style"]' ).change( function() {
		buttons_style_options();
	});

	buttons_style_options();

	function buttons_style_options() {
		if ( $( 'input[name="hb_buttons_style"]:checked' ).val() != 'custom' ) {
			$( '.hb-buttons-style-options-wrapper' ).slideUp();
		} else {
			$( '.hb-buttons-style-options-wrapper' ).slideDown();
		}
	}
});