mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 23:44:47 +02:00
Fix issues with Wikidata field
This commit is contained in:
@@ -84,8 +84,10 @@ export function uiFieldWikidata(field, context) {
|
||||
.call(combobox.fetcher(fetchWikidataItems));
|
||||
|
||||
combobox.on('accept', function(d) {
|
||||
_qid = d.id;
|
||||
change();
|
||||
if (d) {
|
||||
_qid = d.id;
|
||||
change();
|
||||
}
|
||||
}).on('cancel', function() {
|
||||
setLabelForEntity();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user