fix: SyntaxErrors in JS (overview & cookbook)

This commit is contained in:
Hitonabi
2026-06-20 23:44:05 +02:00
parent d0ed4e4c7e
commit 44270b6cb7
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -128,7 +128,6 @@ function mount() {
} }
// Aktuelle Analyse-Daten vom Backend // Aktuelle Analyse-Daten vom Backend
let currentAnalysis = null;
function updateLiveFit() { function updateLiveFit() {
const file = $("#cb-m-files").value; const file = $("#cb-m-files").value;
+1 -1
View File
@@ -40,7 +40,7 @@ async function triggerAction(action) {
toast("Update gestartet! Siehe Aktivitäten."); toast("Update gestartet! Siehe Aktivitäten.");
try { try {
await api("/api/update", { method: "POST" }); await api("/api/update", { method: "POST" });
document.querySelector('.nav-item[data-view=\\'activity\\']').click(); document.querySelector('.nav-item[data-view="activity"]').click();
} catch(e) { } catch(e) {
toast("Fehler: " + e.message, true); toast("Fehler: " + e.message, true);
} }