Remove unused parameter

This commit is contained in:
John Firebaugh
2013-05-23 12:52:10 -07:00
parent 76eb0fca85
commit 4cda3830a2
4 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ iD.ui.preset = function(context, entity, preset) {
.on('close', event.close)
.on('change', event.change);
field.reference = iD.ui.TagReference(entity, {key: field.key});
field.reference = iD.ui.TagReference({key: field.key});
if (field.type === 'address' ||
field.type === 'wikipedia' ||

View File

@@ -198,7 +198,7 @@ iD.ui.PresetList = function(context, entity) {
};
item.preset = preset;
item.reference = iD.ui.TagReference(null, preset.reference());
item.reference = iD.ui.TagReference(preset.reference());
return item;
}

View File

@@ -49,7 +49,7 @@ iD.ui.RawTagEditor = function(context, entity) {
}
tags.forEach(function(tag) {
tag.reference = iD.ui.TagReference(entity, {key: tag.key});
tag.reference = iD.ui.TagReference({key: tag.key});
});
var li = list.html('')

View File

@@ -1,4 +1,4 @@
iD.ui.TagReference = function(entity, tag) {
iD.ui.TagReference = function(tag) {
var tagReference = {},
taginfo = iD.taginfo(),
button, body,