fix wikipedia input

This commit is contained in:
Ansis Brammanis
2013-04-01 16:06:42 -04:00
parent e82df13a28
commit 33ebd9cb5e
2 changed files with 5 additions and 1 deletions

View File

@@ -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);
}

View File

@@ -106,5 +106,9 @@ iD.ui.preset.wikipedia = function(field, context) {
entity = _;
};
i.focus = function() {
title.node().focus();
};
return d3.rebind(i, event, 'on');
};