summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Cheng-Han2016-10-10 20:49:42 +0800
committerWu Cheng-Han2016-10-10 20:49:42 +0800
commitb6e68b2d36c15b7cd91f8820b766f929c01721ad (patch)
tree9360a33882a7b1f8295bc1e232f7b3284c6fd175
parentb54b3cbe6957b46d3b689b0108b0b767b7da261b (diff)
Fix saveHistoryToStorage not correctly fallback to cookie
Diffstat (limited to '')
-rw-r--r--public/js/history.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/history.js b/public/js/history.js
index 0840580d..c974612b 100644
--- a/public/js/history.js
+++ b/public/js/history.js
@@ -47,7 +47,7 @@ function saveHistoryToStorage(notehistory) {
if (store.enabled)
store.set('notehistory', JSON.stringify(notehistory));
else
- saveHistoryToStorage(notehistory);
+ saveHistoryToCookie(notehistory);
}
function saveHistoryToCookie(notehistory) {