mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-08 19:24:49 +02:00
Use both key and value for grid reference
This commit is contained in:
@@ -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
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user