// Dirty state of Customizer in iframe
this.saved = new api.Value( true );
- this.iframe = $( '<iframe />', { src: src }).appendTo( this.element );
+ this.iframe = $( '<iframe />', { 'src': src, 'title': Loader.settings.l10n.mainIframeTitle } ).appendTo( this.element );
this.iframe.one( 'load', this.loaded );
// Create a postMessage connection with the iframe.
Loader.saved( false );
} );
+ this.messenger.bind( 'title', function( newTitle ){
+ window.document.title = newTitle;
+ });
+
this.pushState( src );
this.trigger( 'open' );