mirror of
https://github.com/Casvt/MIND.git
synced 2026-02-19 11:54:46 -05:00
Fixed deleting reminder from web-ui
This commit is contained in:
@@ -93,7 +93,7 @@ function clearSearch() {
|
||||
}
|
||||
|
||||
function deleteReminder(id) {
|
||||
const entry = document.querySelector(`button.entry[data-id="${id}"]`);
|
||||
const entry = document.querySelector(`div.entry[data-id="${id}"]`);
|
||||
entry.remove();
|
||||
|
||||
fetch(`/api/reminders/${id}?api_key=${api_key}`, {
|
||||
|
||||
Reference in New Issue
Block a user