13 lines
306 B
JavaScript
13 lines
306 B
JavaScript
( function( $, api ) {
|
|
api.controlConstructor[ 'gp-copyright' ] = api.Control.extend( {
|
|
ready() {
|
|
var control = this;
|
|
$( '.gp-copyright-area', control.container ).on( 'change keyup',
|
|
function() {
|
|
control.setting.set( $( this ).val() );
|
|
}
|
|
);
|
|
},
|
|
} );
|
|
}( jQuery, wp.customize ) );
|