Fix global leak

This commit is contained in:
John Firebaugh
2012-11-12 08:02:15 -10:00
parent 3beb895253
commit 16618da564

View File

@@ -96,7 +96,7 @@ iD.Inspector = function(graph) {
var data = d3.entries(d.tags).concat([{ key: '', value: ''}]);
draw(data);
save = d3.select(this)
d3.select(this)
.append('button')
.text('Save')
.on('click', function(d, i) {