Skip to content

Commit

Permalink
fix world_map appending to old world map when updating (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeke authored and mistercrunch committed Jun 2, 2016
1 parent 087c47a commit 849063c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions caravel/assets/visualizations/world_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ function worldMapChart(slice) {
container.css('height', slice.height());

d3.json(slice.jsonEndpoint(), function (error, json) {
div.selectAll("*").remove();
var fd = json.form_data;

if (error !== null) {
Expand Down

0 comments on commit 849063c

Please sign in to comment.