Merge "Fix routing after repeatedly opening/closing"

This commit is contained in:
jenkins-bot 2019-05-31 16:26:32 +00:00 committed by Gerrit Code Review
commit e34ffbe40f

View file

@ -917,8 +917,8 @@
// handle empty hashes, and anchor links (page sections)
this.router.addRoute( /^[^/]*$/, function () {
comingFromHashChange = true;
if ( this.isOpen ) {
comingFromHashChange = true;
document.title = this.createDocumentTitle( null );
if ( this.ui ) {
// FIXME triggers mmv-close event, which calls viewer.close()