Descriptions’ textareas fixed.

This commit is contained in:
Luka Vandervelden 2019-07-08 06:47:18 +02:00
parent dd51b24264
commit dba6a026fc

View File

@ -125,7 +125,7 @@ Task = (self, project) ->
if model.editing == self.id + ".description"
h \form.form [
h \textarea.textarea {
value: self.description
value: model.editing-data
oninput: (e) ->
model.editing-data := e.target.value
}
@ -146,6 +146,7 @@ Task = (self, project) ->
if is-selected
h \span.button.is-small {
onclick: ->
model.editing-data := self.description
model.editing := self.id + ".description"
} [
"edit"