From 59881990e25f8232db6c56bfb10bdd06831ccade Mon Sep 17 00:00:00 2001 From: Saman Bemel-Benrud Date: Thu, 21 Mar 2013 15:13:23 -0400 Subject: [PATCH] styled view on osm link. --- js/id/ui/tag_editor.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/js/id/ui/tag_editor.js b/js/id/ui/tag_editor.js index 5c9a1bf90..79ebedf9b 100644 --- a/js/id/ui/tag_editor.js +++ b/js/id/ui/tag_editor.js @@ -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);