mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-30 00:48:44 -05:00
Fix saveHistoryToStorage not correctly fallback to cookie
This commit is contained in:
parent
b54b3cbe69
commit
b6e68b2d36
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ function saveHistoryToStorage(notehistory) {
|
||||||
if (store.enabled)
|
if (store.enabled)
|
||||||
store.set('notehistory', JSON.stringify(notehistory));
|
store.set('notehistory', JSON.stringify(notehistory));
|
||||||
else
|
else
|
||||||
saveHistoryToStorage(notehistory);
|
saveHistoryToCookie(notehistory);
|
||||||
}
|
}
|
||||||
|
|
||||||
function saveHistoryToCookie(notehistory) {
|
function saveHistoryToCookie(notehistory) {
|
||||||
|
|
Loading…
Reference in a new issue