laipower/wp-content/plugins/gp-premium/library/customizer/controls/js/copyright-customizer.js

12 lines
312 B
JavaScript
Raw Normal View History

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