mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-24 08:44:02 +00:00
Fixes #1417
This commit is contained in:
parent
cfe0bcd954
commit
c0eb22c6e2
1 changed files with 2 additions and 2 deletions
|
@ -728,10 +728,10 @@ export default {
|
|||
type: 'status',
|
||||
item: this.status.id
|
||||
}).then(res => {
|
||||
setTimeout(function() {
|
||||
swal('Success', 'You have successfully deleted this post', 'success');
|
||||
setTimeout(function() {
|
||||
window.location.href = '/';
|
||||
}, 2000);
|
||||
}, 3000);
|
||||
}).catch(err => {
|
||||
swal('Error', 'Something went wrong. Please try again later.', 'error');
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue