From c1df01cec1e7a9cc0addc1300029fec988e8926f Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 3 Apr 2013 16:45:40 -0700 Subject: [PATCH] Fix global leak --- js/id/ui/tag_editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/id/ui/tag_editor.js b/js/id/ui/tag_editor.js index 82f01f561..129988af5 100644 --- a/js/id/ui/tag_editor.js +++ b/js/id/ui/tag_editor.js @@ -73,7 +73,7 @@ iD.ui.TagEditor = function(context, entity) { .call(tagList, preset.id === 'other'); if (!entity.isNew()) { - osmLink = tageditorpreset.append('div') + var osmLink = tageditorpreset.append('div') .attr('class', 'col12 inspector-inner') .append('a') .attr('href', 'http://www.openstreetmap.org/browse/' + entity.type + '/' + entity.osmId())