diff --git a/js/index.js b/js/index.js index 059d957..abd7f96 100644 --- a/js/index.js +++ b/js/index.js @@ -1270,6 +1270,10 @@ exportAllButton.addEventListener('click', () => { if (err) { + handlePlotResult(err); + + } else { + savePlot(constants.EXPORT_PDF, handlePlotResult); }