From 3d5635885447759afa1bdc7e77451ff9762bef99 Mon Sep 17 00:00:00 2001 From: Johan Kristiansson <johankristiansson22@gmail.com> Date: Wed, 6 Dec 2023 11:52:29 +0100 Subject: [PATCH] removed alerts --- client/projectPage/projectPageA.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/client/projectPage/projectPageA.ts b/client/projectPage/projectPageA.ts index 7dd13a0..5ac2ee7 100644 --- a/client/projectPage/projectPageA.ts +++ b/client/projectPage/projectPageA.ts @@ -187,16 +187,13 @@ async function checkInputFields(projectId: string, formId: string) { } function loadInitiateAndFinalizeBtn(projectId : string, completed : boolean) { - alert("hej"); if(!completed) { - alert("not completed"); const nolanModelElement = document.getElementById("projectPageNolandsModel") as HTMLElement; //Creates buttons with classname, id, attribute and text const finalizeButton = document.createElement("button"); const iterationButton = document.createElement("button"); if (nolanModelElement) { - alert("finds element"); finalizeButton.id = "toCurrentProjects"; iterationButton.id = "toCurrentProjects"; finalizeButton.classList.add("btn", "btn-primary"); -- GitLab