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 @@