set correct hash even if browser does not implement replaceState

This commit is contained in:
ansuz
2016-11-07 15:03:17 +01:00
parent 303c65f2c3
commit c2770a7a74
5 changed files with 6 additions and 6 deletions

View File

@@ -585,7 +585,7 @@ define([
// set the hash
if (!window.location.hash || window.location.hash === '#') {
Cryptpad.setHash(editHash);
Cryptpad.replaceHash(editHash);
}
Cryptpad.getPadTitle(function (err, title) {