Use both key and value for grid reference

This commit is contained in:
John Firebaugh
2013-03-25 13:12:21 -07:00
parent 4e8ebf6bc4
commit 6eab86b366
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ iD.ui.TagReference = function(entity, tag) {
return function(selection) {
selection.html('');
taginfo.docs({key: tag.key}, function(err, docs) {
taginfo.docs(tag, function(err, docs) {
if (!err && docs) {
docs = findLocal(docs);
}
+1 -1
View File
@@ -98,7 +98,7 @@ iD.ui.Taglist = function(context, entity) {
d3.select(d3.select(this).node().parentNode)
.select('div.tag-help')
.style('display', 'block')
.call(iD.ui.TagReference(entity, tag));
.call(iD.ui.TagReference(entity, {key: tag.key}));
})
.append('span')
.attr('class', 'icon inspect');