Support R key shortcut on /favorites

This commit is contained in:
Toks
2015-12-23 19:27:09 -05:00
parent 98ef1816ba
commit 811a60bb9d

View File

@@ -46,6 +46,12 @@
$("#random-post")[0].click();
});
}
if ($("#c-favorites").length && $("#a-index").length) {
$(document).bind("keydown", "r", function(e) {
$("#random-post")[0].click();
});
}
}
Danbooru.Shortcuts.nav_scroll_down = function() {