mirror of https://github.com/status-im/codimd.git
Fix saveHistoryToStorage not correctly fallback to cookie
This commit is contained in:
parent
b54b3cbe69
commit
b6e68b2d36
|
@ -47,7 +47,7 @@ function saveHistoryToStorage(notehistory) {
|
|||
if (store.enabled)
|
||||
store.set('notehistory', JSON.stringify(notehistory));
|
||||
else
|
||||
saveHistoryToStorage(notehistory);
|
||||
saveHistoryToCookie(notehistory);
|
||||
}
|
||||
|
||||
function saveHistoryToCookie(notehistory) {
|
||||
|
|
Loading…
Reference in New Issue