From 9887e9c1bf6368d2aca82bf5926b84e56f5d5b3d Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Fri, 14 Dec 2012 14:51:26 -0500 Subject: [PATCH] Fix global leaks --- js/id/ui/inspector.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/id/ui/inspector.js b/js/id/ui/inspector.js index b8c834cc8..23c9c0f39 100644 --- a/js/id/ui/inspector.js +++ b/js/id/ui/inspector.js @@ -106,13 +106,13 @@ iD.Inspector = function() { .on('keydown.push-more', pushMore) .each(bindTypeahead); - removeBtn = row.append('button') + var removeBtn = row.append('button') .attr('class','remove minor') .on('click', removeTag); removeBtn.append('span').attr('class', 'icon remove'); - helpBtn = row.append('button').attr('class', 'tag-help minor').append('a') + var helpBtn = row.append('button').attr('class', 'tag-help minor').append('a') .attr('target', '_blank') .attr('tabindex', -1) .attr('href', function(d) {