Don't autoclose tag script "Updating posts" message

This commit is contained in:
Toks
2013-08-31 12:15:41 -04:00
parent c21543db95
commit 91251ce47b
2 changed files with 8 additions and 6 deletions

View File

@@ -552,14 +552,14 @@
Danbooru.Post.notice_update = function(x) {
if (x === "inc") {
Danbooru.Post.pending_update_count += 1;
Danbooru.notice("Updating posts (" + Danbooru.Post.pending_update_count + " pending)...");
Danbooru.notice("Updating posts (" + Danbooru.Post.pending_update_count + " pending)...", true);
} else {
Danbooru.Post.pending_update_count -= 1;
if (Danbooru.Post.pending_update_count < 1) {
Danbooru.notice("Posts updated");
} else {
Danbooru.notice("Updating posts (" + Danbooru.Post.pending_update_count + " pending)...");
Danbooru.notice("Updating posts (" + Danbooru.Post.pending_update_count + " pending)...", true);
}
}
}