X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/wordpress.git/blobdiff_plain/4feeb71a9d812a9ae371c28a3d8b442a4394ded7..607b7e02d77e7326161e8ec15639052d2040f745:/wp-includes/js/customize-loader.js diff --git a/wp-includes/js/customize-loader.js b/wp-includes/js/customize-loader.js index f853f37d..e7b411df 100644 --- a/wp-includes/js/customize-loader.js +++ b/wp-includes/js/customize-loader.js @@ -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 ); } );