fixes #2740: random mod queue autoredirects after 5 actions

This commit is contained in:
Albert Yi
2016-10-27 13:22:28 -07:00
parent 597d724832
commit 8d0781c27f

View File

@@ -7,7 +7,7 @@
if (Danbooru.meta("random-mode") === "1") { if (Danbooru.meta("random-mode") === "1") {
Danbooru.ModQueue.processed += 1; Danbooru.ModQueue.processed += 1;
if (Danbooru.ModQueue.processed === 5) { if (Danbooru.ModQueue.processed === 12) {
window.location = Danbooru.meta("return-to"); window.location = Danbooru.meta("return-to");
} }
} }