From 4d85cda41ab804069c4e9098a9b10ea597f937b1 Mon Sep 17 00:00:00 2001 From: Peter Prince Date: Mon, 26 Jun 2023 13:44:23 +0100 Subject: [PATCH] Fix pdf not exporting when all image types are exported --- js/index.js | 4 ++++ 1 file changed, 4 insertions(+) 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); }