From daacc4aa49bb54d28346a29a8ddb150989993e50 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 24 Apr 2023 16:19:35 +0200 Subject: [PATCH] fix jspdf --- static/js/libs/jspdf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/libs/jspdf.js b/static/js/libs/jspdf.js index 1a89587..439f65e 100644 --- a/static/js/libs/jspdf.js +++ b/static/js/libs/jspdf.js @@ -1,4 +1,4 @@ -window.addEventListener("DOMContentLoaded", () => { +window.addEventListener("load", () => { const { jsPDF } = window.jspdf; const doc = new jsPDF();