diff --git a/js/interface_common.js b/js/interface_common.js index 45ba036..9e130a8 100644 --- a/js/interface_common.js +++ b/js/interface_common.js @@ -557,7 +557,7 @@ function watchHashChange(e) { if (notFirstModalView && notNavigatedBackToFirstModalView) { $('.modal-back').css('display', 'inline'); } else { - window.history.pushState({showCloseButton: false}, null, null); + window.history.replaceState({showCloseButton: false}, '', window.location.pathname + window.location.hash); $('.modal-back').css('display', 'none'); } }