mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-21 07:46:58 +02:00
Fix adding multilingual name (fixes #1694)
This commit is contained in:
@@ -64,7 +64,9 @@ iD.ui.preset.localized = function(field, context) {
|
||||
|
||||
if (language) value = language[2];
|
||||
|
||||
t[key(d.lang)] = '';
|
||||
if (d.lang) {
|
||||
t[key(d.lang)] = '';
|
||||
}
|
||||
|
||||
if (d.value) {
|
||||
t[key(value)] = d.value;
|
||||
|
||||
Reference in New Issue
Block a user