use replaceState if available, instead of setting the hash
This commit is contained in:
@@ -495,9 +495,7 @@ define([
|
||||
}
|
||||
|
||||
// set the hash
|
||||
if (!readOnly) {
|
||||
window.location.hash = editHash;
|
||||
}
|
||||
if (!readOnly) { Cryptpad.setHash(editHash); }
|
||||
|
||||
Cryptpad.getPadTitle(function (err, title) {
|
||||
if (err) {
|
||||
|
||||
Reference in New Issue
Block a user