Ticket #21690: allow-empty-color.diff
| File allow-empty-color.diff, 633 bytes (added by jazbek, 9 months ago) |
|---|
-
customize-controls.js
111 111 var control = this, 112 112 rhex, spot, input, text, update; 113 113 114 rhex = /^ #([A-Fa-f0-9]{3}){0,2}$/;114 rhex = /^(#([A-Fa-f0-9]{3}){1,2})?$/; 115 115 spot = this.container.find('.dropdown-content'); 116 116 input = new api.Element( this.container.find('.color-picker-hex') ); 117 117 update = function( color ) { … … 960 960 api.trigger( 'ready' ); 961 961 }); 962 962 963 })( wp, jQuery ); 964 No newline at end of file 963 })( wp, jQuery );
