Skip to content

Commit

Permalink
reminder modal
Browse files Browse the repository at this point in the history
  • Loading branch information
ZibraMax committed Nov 27, 2021
1 parent 807e7f7 commit 409a438
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ui/EditTask.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@
var elem = document.getElementById('task-modal-reminder');
if (elem) {
elem.parentNode.removeChild(elem);
if (elem.parentNode) {
elem.parentNode.removeChild(elem);
}
}
}
setTimeout(() => {
Expand Down

0 comments on commit 409a438

Please sign in to comment.