]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/customize-loader.js
Wordpress 4.6
[autoinstalls/wordpress.git] / wp-includes / js / customize-loader.js
index f853f37d85f30c1cdff64a9d0949408b36a292f7..e7b411df308a0064a90d22d5ae6fa7be86223863 100644 (file)
@@ -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 );
                        } );