From 8bfe51940f2eff035394b7713cbbce5b9b446842 Mon Sep 17 00:00:00 2001 From: Max Wu Date: Sun, 11 Mar 2018 03:00:36 +0800 Subject: [PATCH] Fix typo Signed-off-by: Max Wu --- public/js/history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/history.js b/public/js/history.js index a65753602..713228187 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'))