set correct hash even if browser does not implement replaceState
This commit is contained in:
1 parent
303c65f2c3
commit
c2770a7a74
5 files changed
+6
-6
No files matched your search
+1
-1
@@ -914,7 +914,7 @@ define([
|
||||
editHash = Cryptpad.getEditHashFromKeys(info.channel, secret.keys);
|
||||
}
|
||||
// set the hash
|
||||
if (!readOnly) { Cryptpad.setHash(editHash); }
|
||||
if (!readOnly) { Cryptpad.replaceHash(editHash); }
|
||||
|
||||
module.patchText = TextPatcher.create({
|
||||
realtime: realtime,
|
||||
|
||||
Reference in new issue
Block a user