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/editor-colorpicker.js |
jQuery( function( $ ) {
$( '.smart-cf-meta-box-table' ).each( function( i, e ) {
$( e ).find( '.smart-cf-colorpicker' ).each( function( i, e ) {
if ( $( e ).attr( 'disabled' ) !== 'disabled' ) {
$( e ).wpColorPicker();
}
} );
} );
$( document ).on( 'smart-cf-after-add-group', function( e, obj ) {
var parent = $( obj.button ).parents( '.smart-cf-meta-box-repeat-tables' );
parent.find( '.smart-cf-colorpicker' ).each( function( i, e ) {
if ( $( e ).attr( 'disabled' ) !== 'disabled' ) {
$( e ).wpColorPicker();
}
} );
} );
} );