Support R key shortcut on /favorites
This commit is contained in:
@@ -46,6 +46,12 @@
|
|||||||
$("#random-post")[0].click();
|
$("#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() {
|
Danbooru.Shortcuts.nav_scroll_down = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user