Changeset 20743
- Timestamp:
- 05/08/2012 11:37:05 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/wp-admin.dev.css
r20730 r20743 5325 5325 } 5326 5326 5327 .customize-loading #customize-container iframe { 5328 opacity: 0; 5329 } 5330 5331 .customize-loading #customize-container { 5332 background: #fff url("../images/wpspin_light.gif") no-repeat fixed center center; 5333 } 5334 5327 5335 #customize-container iframe, 5328 5336 #theme-installer iframe { … … 5330 5338 width: 100%; 5331 5339 z-index: 20; 5340 5341 -webkit-transition: opacity 0.3s; 5342 -moz-transition: opacity 0.3s; 5343 -ms-transition: opacity 0.3s; 5344 -o-transition: opacity 0.3s; 5345 transition: opacity 0.3s; 5332 5346 } 5333 5347 -
trunk/wp-includes/js/customize-loader.dev.js
r20517 r20743 51 51 return; 52 52 this.active = true; 53 this.body.addClass('customize-loading'); 53 54 54 55 this.iframe = $( '<iframe />', { src: src }).appendTo( this.element ); 56 this.iframe.one( 'load', this.loaded ); 55 57 56 58 // Create a postMessage connection with the iframe. … … 93 95 Loader.iframe = null; 94 96 Loader.messenger = null; 95 Loader.body.removeClass( 'customize-active full-overlay-active' ) ;97 Loader.body.removeClass( 'customize-active full-overlay-active' ).removeClass( 'customize-loading' ); 96 98 }); 99 }, 100 loaded: function() { 101 Loader.body.removeClass('customize-loading'); 97 102 } 98 103 };
Note: See TracChangeset
for help on using the changeset viewer.