Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/smart-custom-fields/js/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/smart-custom-fields/js/settings-colorpicker.js |
jQuery( function( $ ) {
$( document ).on( 'smart-cf-setting-field-open', function( e, options ) {
if ( $( options ).hasClass( 'smart-cf-field-options-colorpicker' ) ) {
$( options ).find( '.default-option' ).each( function( i, e ) {
$( e ).wpColorPicker();
} );
}
} );
$( document ).on( 'smart-cf-setting-show-options', function( e, options ) {
if ( $( options ).hasClass( 'smart-cf-field-options-colorpicker' ) ) {
$( options ).find( '.default-option' ).each( function( i, e ) {
$( e ).wpColorPicker();
} );
}
} );
} );