1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #1422 from pixelfed/frontend-ui-refactor

Frontend ui refactor
This commit is contained in:
daniel 2019-06-18 13:46:34 -06:00 committed by GitHub
commit aa87edcaab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

BIN
public/js/status.js vendored

Binary file not shown.

Binary file not shown.

View file

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