Fix saveHistoryToStorage not correctly fallback to cookie

This commit is contained in:
Wu Cheng-Han 2016-10-10 20:49:42 +08:00
parent b54b3cbe69
commit b6e68b2d36

View file

@ -47,7 +47,7 @@ function saveHistoryToStorage(notehistory) {
if (store.enabled)
store.set('notehistory', JSON.stringify(notehistory));
else
saveHistoryToStorage(notehistory);
saveHistoryToCookie(notehistory);
}
function saveHistoryToCookie(notehistory) {