use replaceState if available, instead of setting the hash

This commit is contained in:
ansuz committed 2016-11-07 11:20:30 +01:00
1 parent 67bf41627d
commit 303c65f2c3
5 files changed
+12 -10

No files matched your search

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