From a6c82eb06ebbea6145d3235cd808dc0be43ed69f Mon Sep 17 00:00:00 2001 From: Conrad Zelck <git@simpel.cc> Date: Sun, 3 Mar 2024 23:09:20 +0100 Subject: [PATCH] fix index: remove onclick event dialog-close-button Signed-off-by: Conrad Zelck <git@simpel.cc> --- index.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/index.php b/index.php index 85d7588..61e2de0 100644 --- a/index.php +++ b/index.php @@ -227,12 +227,6 @@ WIN: [ Alt ] + [ c ]" accesskey="c" onclick="copyOutput()">Copy output field [c] </div> </main> <script> - // Error messages dialog - const dialog = document.getElementById("dialog"); - const closeButtonDialog = document.querySelector("dialog button"); - closeButtonDialog.addEventListener("click", () => { - dialog.close(); - }); // disable form for input file checkInputFile(); checkOutputFile(); -- GitLab