mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 17:52:55 +00:00
fix wikipedia input
This commit is contained in:
@@ -15,7 +15,7 @@ iD.ui.preset = function(context, entity, preset) {
|
||||
|
||||
field.reference = iD.ui.TagReference(entity, {key: field.key});
|
||||
|
||||
if (field.type === 'address') {
|
||||
if (field.type === 'address' || field.type === 'wikipedia') {
|
||||
field.input.entity(entity);
|
||||
}
|
||||
|
||||
|
||||
@@ -106,5 +106,9 @@ iD.ui.preset.wikipedia = function(field, context) {
|
||||
entity = _;
|
||||
};
|
||||
|
||||
i.focus = function() {
|
||||
title.node().focus();
|
||||
};
|
||||
|
||||
return d3.rebind(i, event, 'on');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user