summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2023-09-17 16:09:19 +0200
committerYorhel <git@yorhel.nl>2023-09-17 16:09:19 +0200
commitbf097fcd8629d58c1c91ecd1bb07324b9bb7731e (patch)
tree91d1c0c166d40b3d3c9e70fd42a633ee213b65d5
parentce3a38b51708dac220c5b88188bb6becbc50e598 (diff)
Producer::Edit: Fix latin field checkHEADmaster
-rw-r--r--js/contrib/ProducerEdit.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/contrib/ProducerEdit.js b/js/contrib/ProducerEdit.js
index 36378adb..a593910f 100644
--- a/js/contrib/ProducerEdit.js
+++ b/js/contrib/ProducerEdit.js
@@ -77,7 +77,7 @@ widget('ProducerEdit', initVnode => {
m('label[for=name]', 'Name (original)'),
m(Input, { class: 'xw', required: true, maxlength: 200, data, field: 'name', oninput: nameChange }),
),
- !data.latin && !nonLatin.test(data.title) ? null : m('fieldset',
+ !data.latin && !nonLatin.test(data.name) ? null : m('fieldset',
m('label[for=name]', 'Name (latin)'),
m(Input, {
class: 'xw', required: true, maxlength: 200, data, field: 'latin', placeholder: 'Romanization', oninput: nameChange,