Merge pull request #718 from cmho/702-confirm-deletion

[702] Add confirmation check to post deletion function
pull/751/head
daniel 6 years ago committed by GitHub
commit b7f866441c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -496,6 +496,8 @@ export default {
},
deletePost() {
var result = confirm('Are you sure you want to delete this post?');
if (result) {
if($('body').hasClass('loggedIn') == false) {
return;
}
@ -511,4 +513,5 @@ export default {
}
}
}
}
</script>

Loading…
Cancel
Save