diff --git a/app/assets/javascripts/shortcuts.js b/app/assets/javascripts/shortcuts.js index 86c143aaa..66c9383d3 100644 --- a/app/assets/javascripts/shortcuts.js +++ b/app/assets/javascripts/shortcuts.js @@ -30,7 +30,7 @@ }); } - if ($("#c-posts #a-index, #c-posts #a-show, #c-favorites #a-index").length) { + if ($("#c-posts #a-index, #c-favorites #a-index").length) { Danbooru.keydown("r", "random", function(e) { $("#random-post")[0].click(); }); diff --git a/app/views/static/keyboard_shortcuts.html.erb b/app/views/static/keyboard_shortcuts.html.erb index 458848849..c4702cf2e 100644 --- a/app/views/static/keyboard_shortcuts.html.erb +++ b/app/views/static/keyboard_shortcuts.html.erb @@ -32,7 +32,6 @@