fix world_map appending to old world map when updating (#549)

This commit is contained in:
George Ke 2016-06-01 22:47:22 -07:00 committed by Maxime Beauchemin
parent 087c47a37e
commit 849063c797

View File

@ -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) {