mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-30 02:03:16 +00:00
Merge pull request #1422 from pixelfed/frontend-ui-refactor
Frontend ui refactor
This commit is contained in:
commit
aa87edcaab
3 changed files with 2 additions and 2 deletions
BIN
public/js/status.js
vendored
BIN
public/js/status.js
vendored
Binary file not shown.
Binary file not shown.
|
@ -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');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue