From 74d7564bdc39724f6547f6eaa4b8440061f73e7c Mon Sep 17 00:00:00 2001 From: Paul Mathieu Date: Mon, 3 Jul 2023 19:57:14 +0200 Subject: [PATCH] frontend: avoid double slash in data urls --- frontend/zetikettes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/zetikettes.js b/frontend/zetikettes.js index fdeac84..dc0296c 100644 --- a/frontend/zetikettes.js +++ b/frontend/zetikettes.js @@ -35,7 +35,7 @@ function loadAll(zetikettes) { $.post(backend_api, JSON.stringify(req)) .then(data => { console.log(data); - const pdfbtn = $(`open pdf`); + const pdfbtn = $(`open pdf`); action.append(pdfbtn); }) .catch(err => {