added docs

This commit is contained in:
Ayzen
2026-10-16 18:35:02 +03:00
parent b88d704126
commit ad2b3e555a
19 changed files with 3719 additions and 663 deletions
+1 -1
View File
@@ -340,7 +340,7 @@ btnApply.addEventListener("click", async () => {
btnResetHistory.addEventListener("click", async () => {
btnResetHistory.disabled = true;
try {
await api("/api/clear_history");
await api("/api/clear_history", {});
settingsNote.textContent = "History reset requested.";
} catch (err) {
settingsNote.textContent = err.message;