diff --git a/src/fencer.js b/src/fencer.js index eda9be7..9743440 100644 --- a/src/fencer.js +++ b/src/fencer.js @@ -565,6 +565,9 @@ function onDropFont (e) { e.preventDefault(); + // delete contents of the axes container + Q("#axes").innerHTML = ""; + // get arrayBuffer from dropped object const file = e.dataTransfer.files[0]; file.arrayBuffer().then(arrayBuffer => {