modqueue: move url from /moderator/post/queue to /modqueue.

This commit is contained in:
evazion
2020-02-29 14:00:09 -06:00
parent 72210c0226
commit 475d6ae7cf
15 changed files with 44 additions and 53 deletions

View File

@@ -3,8 +3,8 @@
<% else %>
if ($("#c-posts #a-show").length) {
location.reload();
} else if ($("#c-moderator-post-queues").length) {
$("#c-moderator-post-queues #post-<%= @approval.post.id %>").hide();
} else if ($("#c-modqueue").length) {
$("#c-modqueue #post-<%= @approval.post.id %>").hide();
Danbooru.notice("Post was approved");
}
<% end %>