fix: SyntaxErrors in JS (overview & cookbook)
This commit is contained in:
@@ -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