Changeset 20745 for trunk/wp-includes/js/customize-controls.dev.js
- Timestamp:
- 05/09/2012 12:23:05 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/customize-controls.dev.js
r20741 r20745 312 312 api.Messenger.prototype.initialize.call( this, params.url ); 313 313 314 this.scroll = 0; 315 this.bind( 'scroll', function( distance ) { 316 this.scroll = distance; 317 }); 318 314 319 // We're dynamically generating the iframe, so the origin is set 315 320 // to the current window's location, not the url's. … … 336 341 if ( this.iframe ) 337 342 this.iframe.remove(); 343 338 344 this.iframe = this.loading; 339 345 delete this.loading; 340 346 341 347 this.targetWindow( this.iframe[0].contentWindow ); 348 this.send( 'scroll', this.scroll ); 342 349 }, 343 350 query: function() {},
Note: See TracChangeset
for help on using the changeset viewer.