Cleans a bit WIP Card class.
parent
b8c2e54eeb
commit
db93b44073
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue