From d1b865f16fc1453bd91cac45b5be262a49847122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Phillip=20K=C3=BChne?= Date: Fri, 6 Oct 2023 16:19:07 +0000 Subject: [PATCH] Remove unnecessary debug logs --- backend/templates/main.html | 2 -- backend/templates/songlist.html | 3 --- 2 files changed, 5 deletions(-) diff --git a/backend/templates/main.html b/backend/templates/main.html index 0e0e1ae..86fa26c 100644 --- a/backend/templates/main.html +++ b/backend/templates/main.html @@ -35,8 +35,6 @@ }) function TableActionsFormatter(value, row, index) { - console.log("Value: " + value + ", Row: " + row + ", Index: " + index) - console.log(row) if (getOwnedEntries().includes(row.entry_ID)) { return "" } diff --git a/backend/templates/songlist.html b/backend/templates/songlist.html index 54c0346..b859b53 100644 --- a/backend/templates/songlist.html +++ b/backend/templates/songlist.html @@ -108,7 +108,6 @@ $("#selectedId").attr("value", id); $.getJSON("/api/songs/details/" + id, function (data) { - console.log(data); $("#songTitle").html(data["title"]); $("#songArtist").html(data["artist"]); $("#songYear").html(data["year"]); @@ -191,7 +190,6 @@ var name = $("#singerNameInput").val(); var id = $("#selectedId").attr("value"); enqueue(localStorage.getItem("clientId"), id, name, function (response) { - console.log(response); entryID = response["entry_id"]; toast = { title: "Erfolgreich eingetragen", @@ -200,7 +198,6 @@ timeout: 5000 } Toast.create(toast); - console.log("Entry ID: " + entryID); addEntry(entryID); $("#enqueueModal").modal('hide'); window.location.href = '/#end';