|
|
@ -225,6 +225,14 @@ define([
|
|
|
|
return secret;
|
|
|
|
return secret;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var replaceHash = common.replaceHash = function (hash) {
|
|
|
|
|
|
|
|
if (window.history && window.history.replaceState) {
|
|
|
|
|
|
|
|
if (!/^#/.test(hash)) { hash = '#' + hash; }
|
|
|
|
|
|
|
|
return void window.history.replaceState({}, window.document.title, hash);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
window.location.hash = hash;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
var storageKey = common.storageKey = 'CryptPad_RECENTPADS';
|
|
|
|
var storageKey = common.storageKey = 'CryptPad_RECENTPADS';
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|