Changeset 20864 for trunk/wp-includes/js/customize-controls.dev.js
- Timestamp:
- 05/24/2012 03:29:51 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/customize-controls.dev.js
r20861 r20864 497 497 // If we receive a 'back' event, we're inside an iframe. 498 498 // Send any clicks to the 'Return' link to the parent page. 499 parent.bind( 'back', function( text ) { 500 var back = $('.back'); 501 502 if ( text ) 503 back.text( text ); 504 505 back.on( 'click.back', function( event ) { 499 parent.bind( 'back', function() { 500 $('.back').on( 'click.back', function( event ) { 506 501 event.preventDefault(); 507 502 parent.send( 'close' );
Note: See TracChangeset
for help on using the changeset viewer.