From 3077a0743a2dd136dd50fd21ce434f0268e264ee Mon Sep 17 00:00:00 2001 From: aqquq <jannik.wurche@student.uni-halle.de> Date: Sun, 7 Jul 2024 13:35:35 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20update=20relative=20links?= =?UTF-8?q?=20to=20work=20with=20GitLab?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Pages/HomeView.elm | 2 +- src/editor.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Pages/HomeView.elm b/src/Pages/HomeView.elm index bc1a0c2..2b226df 100644 --- a/src/Pages/HomeView.elm +++ b/src/Pages/HomeView.elm @@ -43,6 +43,6 @@ homeView model = ] -- Display the loading message or any error message. , loadingMsg - , a [ class "link", href "/editor.html" ] [ text "Quiz Editor" ] + , a [ class "link", href "/editor" ] [ text "Quiz Editor" ] ] ] \ No newline at end of file diff --git a/src/editor.html b/src/editor.html index 57c7401..db27df8 100644 --- a/src/editor.html +++ b/src/editor.html @@ -37,6 +37,7 @@ try { const jsonData = await readJsonFile(file); checkBtn.remove(); + fileInput.remove(); const app = Elm.QuizEditor.Editor.init({ node: document.getElementById('elm-container'), -- GitLab