From ee38f824ea2d9efd298844bde3cff3db1f0b55a8 Mon Sep 17 00:00:00 2001 From: fazo96 Date: Fri, 30 May 2014 12:18:04 +0200 Subject: [PATCH] better note list --- client/client.coffee | 2 +- client/view/templates.html | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/client.coffee b/client/client.coffee index 60183e5..fa2779e 100644 --- a/client/client.coffee +++ b/client/client.coffee @@ -73,7 +73,7 @@ Template.notelist.events template.find('#newNote').value = "" # Note Editor -Template.editor.note = -> Router.current.data() +Template.editor.note = -> Router.current.data() # Only when we're in /note/:_id saveCurrentNote = (t,e) -> if e and e.keyCode isnt 13 then return; notes.update Router.current().data()._id, diff --git a/client/view/templates.html b/client/view/templates.html index 3d42dbb..9bf8bc3 100644 --- a/client/view/templates.html +++ b/client/view/templates.html @@ -29,9 +29,9 @@