From 953b9c7a7478dedbea7eee17f9aae94862bc046e Mon Sep 17 00:00:00 2001 From: r888888888 Date: Tue, 12 Sep 2017 13:11:30 -0700 Subject: [PATCH] fixes #3281 --- app/assets/javascripts/post_mode_menu.js | 6 ------ app/views/posts/partials/index/_mode_menu.html.erb | 3 --- 2 files changed, 9 deletions(-) diff --git a/app/assets/javascripts/post_mode_menu.js b/app/assets/javascripts/post_mode_menu.js index d3c85167a..e3a1c363d 100644 --- a/app/assets/javascripts/post_mode_menu.js +++ b/app/assets/javascripts/post_mode_menu.js @@ -161,12 +161,6 @@ Danbooru.Post.vote("down", post_id); } else if (s === 'vote-up') { Danbooru.Post.vote("up", post_id); - } else if (s === 'rating-q') { - Danbooru.Post.update(post_id, {"post[rating]": "q"}); - } else if (s === 'rating-s') { - Danbooru.Post.update(post_id, {"post[rating]": "s"}); - } else if (s === 'rating-e') { - Danbooru.Post.update(post_id, {"post[rating]": "e"}); } else if (s === 'lock-rating') { Danbooru.Post.update(post_id, {"post[is_rating_locked]": "1"}); } else if (s === 'lock-note') { diff --git a/app/views/posts/partials/index/_mode_menu.html.erb b/app/views/posts/partials/index/_mode_menu.html.erb index a6d2ee91e..16b0cf7c8 100644 --- a/app/views/posts/partials/index/_mode_menu.html.erb +++ b/app/views/posts/partials/index/_mode_menu.html.erb @@ -8,9 +8,6 @@ - - - <% if CurrentUser.is_builder? %>