Fix: use data('id') on textarea
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
12ea8c3cc4
commit
5e1422f684
|
@ -294,7 +294,7 @@ function editor(root, inputData, options) {
|
||||||
|
|
||||||
let text = element.val()
|
let text = element.val()
|
||||||
$(element).closest('.list-item').removeClass('editor');
|
$(element).closest('.list-item').removeClass('editor');
|
||||||
store.update(element.attr('data-id'), (value) => {
|
store.update(element.data('id'), (value) => {
|
||||||
return _.merge(value, {
|
return _.merge(value, {
|
||||||
text: text
|
text: text
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user