Customize: Don't auto-close the customizer when a new theme is activated.
Props celloexpressions. Fixes #35320. Built from https://develop.svn.wordpress.org/trunk@37339 git-svn-id: http://core.svn.wordpress.org/trunk@37305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -150,12 +150,6 @@ window.wp = window.wp || {};
|
||||
// Prompt AYS dialog when navigating away
|
||||
$( window ).on( 'beforeunload', this.beforeunload );
|
||||
|
||||
this.messenger.bind( 'activated', function( location ) {
|
||||
if ( location ) {
|
||||
window.location = location;
|
||||
}
|
||||
});
|
||||
|
||||
this.messenger.bind( 'saved', function () {
|
||||
Loader.saved( true );
|
||||
} );
|
||||
|
||||
Reference in New Issue
Block a user