add ban to post mode menu
This commit is contained in:
@@ -164,6 +164,8 @@
|
||||
Danbooru.Post.update(post_id, {"post[is_note_locked]": "1"});
|
||||
} else if (s === 'approve') {
|
||||
Danbooru.Post.approve(post_id);
|
||||
} else if (s === 'ban') {
|
||||
Danbooru.Post.ban(post_id);
|
||||
} else if (s === "tag-script") {
|
||||
var current_script_id = Danbooru.Cookie.get("current_tag_script_id");
|
||||
var tag_script = Danbooru.Cookie.get("tag-script-" + current_script_id);
|
||||
|
||||
Reference in New Issue
Block a user