forked from e621ng/e621ng
Reload page when successfully flagging a post through JS
This commit is contained in:
parent
0b92d9c2f9
commit
977c191f82
@ -3,6 +3,7 @@ if (errors.length > 0) {
|
||||
$(window).trigger("danbooru:error", errors.join("; "));
|
||||
} else {
|
||||
$(window).trigger("danbooru:notice", "Post flagged");
|
||||
location.reload();
|
||||
$("a#approve").show();
|
||||
$("a#disapprove").show();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user