From a56f2738278a1f831a62c2ab1320ee76c2e423c7 Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Tue, 5 Mar 2013 10:37:56 -0500 Subject: [PATCH] fix leaking global --- 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 a0a429eaf..f609168b4 100644 --- a/js/id/ui/tag_editor.js +++ b/js/id/ui/tag_editor.js @@ -13,7 +13,7 @@ iD.ui.TagEditor = function(context) { entity = selection.datum(); selection_ = selection; - geometry = entity.geometry(context.graph()); + var geometry = entity.geometry(context.graph()); // preset was explicitly chosen if (newpreset) {