Merge pull request #58 from xwiki-labs/replaceState
use replaceState if available
This commit is contained in:
@@ -601,9 +601,7 @@ define([
|
||||
}
|
||||
|
||||
// set the hash
|
||||
if (!readOnly) {
|
||||
window.location.hash = editHash;
|
||||
}
|
||||
if (!readOnly) { Cryptpad.replaceHash(editHash); }
|
||||
|
||||
Cryptpad.getPadTitle(function (err, title) {
|
||||
if (err) {
|
||||
|
||||
Reference in New Issue
Block a user