1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 01:05:36 +00:00
This commit is contained in:
Daniel Supernault 2019-06-18 13:45:28 -06:00
parent cfe0bcd954
commit c0eb22c6e2
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -728,10 +728,10 @@ export default {
type: 'status', type: 'status',
item: this.status.id item: this.status.id
}).then(res => { }).then(res => {
setTimeout(function() {
swal('Success', 'You have successfully deleted this post', 'success'); swal('Success', 'You have successfully deleted this post', 'success');
setTimeout(function() {
window.location.href = '/'; window.location.href = '/';
}, 2000); }, 3000);
}).catch(err => { }).catch(err => {
swal('Error', 'Something went wrong. Please try again later.', 'error'); swal('Error', 'Something went wrong. Please try again later.', 'error');
}); });