From 56a91ef70688de5ab8f77a5af88e301b7f3f083b Mon Sep 17 00:00:00 2001 From: Matias De lellis Date: Tue, 12 Nov 2019 10:26:24 -0300 Subject: [PATCH] Fix inital emty tags of new notes --- js/script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/script.js b/js/script.js index 40c6623..7530d24 100644 --- a/js/script.js +++ b/js/script.js @@ -85,6 +85,7 @@ Notes.prototype = { contentType: 'application/json', data: JSON.stringify(note) }).done(function (note) { + note.tags = []; self._notes.unshift(note); self._activeNote = note; self.load(note.id);