approvers: remove "you haven't moderated in awhile" notice.

Remove the nag message when an approver hasn't approved anything
recently. Also remove the modqueue random posts page. As of 3d410398a,
inactive approvers are now warned via dmails.
This commit is contained in:
evazion
2020-02-26 23:42:47 -06:00
parent 41103cb6b5
commit cded0f763b
12 changed files with 1 additions and 95 deletions

View File

@@ -2,18 +2,6 @@ import Utility from './utility'
let ModQueue = {};
ModQueue.processed = 0;
ModQueue.increment_processed = function() {
if (Utility.meta("random-mode") === "1") {
ModQueue.processed += 1;
if (ModQueue.processed === 12) {
window.location = Utility.meta("return-to");
}
}
}
ModQueue.detailed_rejection_dialog = function() {
$("#post_disapproval_post_id").val($(this).data("post-id"));
$("#detailed-rejection-dialog").find("form")[0].reset();
@@ -23,7 +11,6 @@ ModQueue.detailed_rejection_dialog = function() {
}
$(function() {
$(window).on("danbooru:modqueue_increment_processed", ModQueue.increment_processed);
$(document).on("click.danbooru", ".quick-mod .detailed-rejection-link", ModQueue.detailed_rejection_dialog);
});