mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
fix world_map appending to old world map when updating (#549)
This commit is contained in:
parent
087c47a37e
commit
849063c797
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user