diff --git a/client/card.ls b/client/card.ls index c254e82..18cf01f 100644 --- a/client/card.ls +++ b/client/card.ls @@ -1,7 +1,7 @@ h = require 'maquette' .h -TaskCard = (key, head-left, head-content, content, on-click) -> +Card = (key, head-left, head-content, content, on-click) -> self = { key: key head-left: head-left @@ -26,7 +26,6 @@ TaskCard = (key, head-left, head-content, content, on-click) -> self.title h \div.button { onclick: -> on-click! - modal := TaskCreationModal project.id, todod-ws, self } [ "Edit" ] if self.modal