Fix saveHistoryToStorage not correctly fallback to cookie
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user