From db93b4407358f5fbce17a9862e0cddbf8ba1b293 Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Mon, 23 Dec 2019 23:56:06 +0100 Subject: [PATCH] Cleans a bit WIP Card class. --- client/card.ls | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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