Changeset 30219
- Timestamp:
- 11/03/2014 09:48:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/customize-base.js
r30102 r30219 427 427 if ( this.element.is('input') ) { 428 428 type = this.element.prop('type'); 429 if ( api.Element.synchronizer[ type ] ) 429 if ( api.Element.synchronizer[ type ] ) { 430 430 synchronizer = api.Element.synchronizer[ type ]; 431 if ( 'text' === type || 'password' === type ) 431 } 432 if ( 'text' === type || 'password' === type ) { 432 433 this.events += ' keyup'; 434 } else if ( 'range' === type ) { 435 this.events += ' input propertychange'; 436 } 433 437 } else if ( this.element.is('textarea') ) { 434 438 this.events += ' keyup';
Note: See TracChangeset
for help on using the changeset viewer.