WordPress.org

Make WordPress Core

Ticket #20873: 20873.2.diff

File 20873.2.diff, 586 bytes (added by koopersmith, 3 years ago)
  • wp-admin/js/customize-controls.dev.js

     
    122122                        this.farbtastic = $.farbtastic( this.container.find('.farbtastic-placeholder'), control.setting.set ); 
    123123 
    124124                        // 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 ) { 
    126126                                return rhex.test( to ) ? to : null; 
    127127                        }; 
    128128