2020-04-07 13:03:04 +00:00
|
|
|
( function( $, api ) {
|
2021-07-25 23:25:02 +00:00
|
|
|
api.controlConstructor[ 'gp-copyright' ] = api.Control.extend( {
|
|
|
|
ready() {
|
2020-04-07 13:03:04 +00:00
|
|
|
var control = this;
|
|
|
|
$( '.gp-copyright-area', control.container ).on( 'change keyup',
|
|
|
|
function() {
|
|
|
|
control.setting.set( $( this ).val() );
|
|
|
|
}
|
|
|
|
);
|
2021-07-25 23:25:02 +00:00
|
|
|
},
|
2020-04-07 13:03:04 +00:00
|
|
|
} );
|
2021-07-25 23:25:02 +00:00
|
|
|
}( jQuery, wp.customize ) );
|