Skip to content

Commit b6e68b2

Browse files
committed
Fix saveHistoryToStorage not correctly fallback to cookie
1 parent b54b3cb commit b6e68b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/js/history.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function saveHistoryToStorage(notehistory) {
4747
if (store.enabled)
4848
store.set('notehistory', JSON.stringify(notehistory));
4949
else
50-
saveHistoryToStorage(notehistory);
50+
saveHistoryToCookie(notehistory);
5151
}
5252

5353
function saveHistoryToCookie(notehistory) {

0 commit comments

Comments
 (0)