first commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
wp.customize.controlConstructor['oceanwp-textarea'] = wp.customize.Control.extend({
|
||||
|
||||
ready: function() {
|
||||
|
||||
'use strict';
|
||||
|
||||
var control = this,
|
||||
element = this.container.find( 'textarea' );
|
||||
|
||||
// On change
|
||||
this.container.on( 'change keyup paste', 'textarea', function() {
|
||||
control.setting.set( jQuery( this ).val() );
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user