From df4d126aa39a22320fdd5dee5849b88eeb06f6a7 Mon Sep 17 00:00:00 2001 From: Thomas Schneider <thomas@fsmpi.rwth-aachen.de> Date: Mon, 16 Sep 2024 19:11:44 +0200 Subject: [PATCH] frontend: Log debug messages as such --- frontend/src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/main.ts b/frontend/src/main.ts index 1f475b2..35a4447 100644 --- a/frontend/src/main.ts +++ b/frontend/src/main.ts @@ -11,13 +11,13 @@ function onInputHandler(event: Event) { window.addEventListener("load", () => { if (document.getElementById('preview')) { for (const el of document.getElementsByClassName('input-dispatch')) { - console.log(el); + console.debug(el); el.addEventListener('input', onInputHandler); } } for (const op of document.querySelectorAll('.option .preview')) { - console.log(op); + console.debug(op); const input_id = (op as HTMLElement).dataset.for; if (!input_id) { console.error("Missing data-for attribute for", op); -- GitLab