Fixed comment
This commit is contained in:
@ -43,10 +43,9 @@ export function savePost(arn: AnimeNotifier, element: HTMLElement) {
|
|||||||
.catch(err => arn.statusMessage.showError(err))
|
.catch(err => arn.statusMessage.showError(err))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create thread
|
// Delete post
|
||||||
export function deletePost(arn: AnimeNotifier, element: HTMLElement) {
|
export function deletePost(arn: AnimeNotifier, element: HTMLElement) {
|
||||||
|
if(!confirm(`Are you sure you want to delete this Post?`)) {
|
||||||
if (!confirm(`Are you sure you want to delete this Post?`)) {
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user