Cleans a bit WIP Card class.

dev
Luka Vandervelden 2019-12-23 23:56:06 +01:00
parent b8c2e54eeb
commit db93b44073
1 changed files with 1 additions and 2 deletions

View File

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