summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Wu2018-03-11 03:00:36 +0800
committerMax Wu2018-03-11 03:00:36 +0800
commit8bfe51940f2eff035394b7713cbbce5b9b446842 (patch)
tree6bcbe7e0e39edb333909656db328eb0689ee537e
parentdfd833dbe2c21ea6ccdc185b717c59894950816d (diff)
Fix typo
Signed-off-by: Max Wu <jackymaxj@gmail.com>
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 a6575360..71322818 100644
--- a/public/js/history.js
+++ b/public/js/history.js
@@ -304,7 +304,7 @@ function parseToHistory (list, notehistory, callback) {
notehistory[i].id = encodeNoteId(id)
}
} catch (err) {
- logger.error(err)
+ console.error(err)
}
// parse time to timestamp and fromNow
const timestamp = (typeof notehistory[i].time === 'number' ? moment(notehistory[i].time) : moment(notehistory[i].time, 'MMMM Do YYYY, h:mm:ss a'))