styled view on osm link.

This commit is contained in:
Saman Bemel-Benrud
2013-03-21 15:13:23 -04:00
parent d6e838d44c
commit 59881990e2

View File

@@ -97,10 +97,12 @@ iD.ui.TagEditor = function(context, entity) {
// Don't add for created entities
if (entity.osmId() > 0) {
editorwrap.append('a')
.attr('href', 'http://www.openstreetmap.org/browse/' + entity.type + '/' + entity.osmId())
.attr('target', '_blank')
.text(t('inspector.view_on_osm'));
tageditorpreset.append('div')
.attr('class','inspector-inner')
.append('a')
.attr('href', 'http://www.openstreetmap.org/browse/' + entity.type + '/' + entity.osmId())
.attr('target', '_blank')
.text(t('inspector.view_on_osm'));
}
tageditor.tags(tags);