Ticket #20873: 20873.2.diff
File 20873.2.diff, 586 bytes (added by , 12 years ago) |
---|
-
wp-admin/js/customize-controls.dev.js
122 122 this.farbtastic = $.farbtastic( this.container.find('.farbtastic-placeholder'), control.setting.set ); 123 123 124 124 // Only pass through values that are valid hexes/empty. 125 input. link( this.setting ).validate = function( to ) {125 input.sync( this.setting ).validate = function( to ) { 126 126 return rhex.test( to ) ? to : null; 127 127 }; 128 128