Make WordPress Core

Changeset 21022


Ignore:
Timestamp:
06/07/2012 05:25:00 PM (14 years ago)
Author:
koopersmith
Message:

Theme Customizer: Allow color control inputs to change the corresponding setting (use sync instead of link). fixes #20873.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/js/customize-controls.dev.js

    r21016 r21022  
    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                        };
Note: See TracChangeset for help on using the changeset viewer.