diff options
author | Wu Cheng-Han | 2016-10-10 20:49:42 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-10-10 20:49:42 +0800 |
commit | b6e68b2d36c15b7cd91f8820b766f929c01721ad (patch) | |
tree | 9360a33882a7b1f8295bc1e232f7b3284c6fd175 | |
parent | b54b3cbe6957b46d3b689b0108b0b767b7da261b (diff) |
Fix saveHistoryToStorage not correctly fallback to cookie
-rw-r--r-- | public/js/history.js | 2 |
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) { |