Ticket #20713: 20713.patch

File 20713.patch, 565 bytes (added by ocean90, 12 months ago)
  • wp-includes/js/customize-preview.dev.js

     
    3434                        this.body = $( document.body ); 
    3535                        this.body.on( 'click.preview', 'a', function( event ) { 
    3636                                event.preventDefault(); 
     37                                self.send( 'scroll', 0 ); 
    3738                                self.send( 'url', $(this).prop('href') ); 
    3839                        }); 
    3940 
     
    8384                }); 
    8485        }); 
    8586 
    86 })( wp, jQuery ); 
    87  No newline at end of file 
     87})( wp, jQuery );