set correct hash even if browser does not implement replaceState

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

No files matched your search

+1 -1
View File
@@ -495,7 +495,7 @@ define([
}
// set the hash
if (!readOnly) { Cryptpad.setHash(editHash); }
if (!readOnly) { Cryptpad.replaceHash(editHash); }
Cryptpad.getPadTitle(function (err, title) {
if (err) {