diff --git a/benchmarking/public/chart.html b/benchmarking/public/chart.html index 861be33..4f1aaa7 100644 --- a/benchmarking/public/chart.html +++ b/benchmarking/public/chart.html @@ -49,13 +49,10 @@ -
Header Back
-
- Drop config here -
+ Drop config here
diff --git a/benchmarking/src/loadChart.js b/benchmarking/src/loadChart.js index f7fcb0f..4f9167c 100644 --- a/benchmarking/src/loadChart.js +++ b/benchmarking/src/loadChart.js @@ -20,4 +20,5 @@ fileDrop.addEventListener('filedrop', e => { readFile(e.files[0]) .then(JSON.parse) .then(config => new Chart(ctx, config)) + .then(document.getElementsByTagName('file-drop')[0].remove()) })