fix: SyntaxErrors in JS (overview & cookbook)
This commit is contained in:
@@ -128,7 +128,6 @@ function mount() {
|
||||
}
|
||||
|
||||
// Aktuelle Analyse-Daten vom Backend
|
||||
let currentAnalysis = null;
|
||||
|
||||
function updateLiveFit() {
|
||||
const file = $("#cb-m-files").value;
|
||||
|
||||
@@ -40,7 +40,7 @@ async function triggerAction(action) {
|
||||
toast("Update gestartet! Siehe Aktivitäten.");
|
||||
try {
|
||||
await api("/api/update", { method: "POST" });
|
||||
document.querySelector('.nav-item[data-view=\\'activity\\']').click();
|
||||
document.querySelector('.nav-item[data-view="activity"]').click();
|
||||
} catch(e) {
|
||||
toast("Fehler: " + e.message, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user