fixes #2740: random mod queue autoredirects after 5 actions
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user