~canonical-sysadmins/wordpress/4.8.1

« back to all changes in this revision

Viewing changes to wp-includes/js/customize-loader.js

  • Committer: Barry Price
  • Date: 2016-08-17 04:49:28 UTC
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: barry.price@canonical.com-20160817044928-viijiwb4tl8jwzmp
new upstream release 4.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
                        // Prompt AYS dialog when navigating away
151
151
                        $( window ).on( 'beforeunload', this.beforeunload );
152
152
 
153
 
                        this.messenger.bind( 'activated', function( location ) {
154
 
                                if ( location ) {
155
 
                                        window.location = location;
156
 
                                }
157
 
                        });
158
 
 
159
153
                        this.messenger.bind( 'saved', function () {
160
154
                                Loader.saved( true );
161
155
                        } );