This commit is contained in:
r888888888
2013-06-19 14:04:27 -07:00
parent 5c52e68039
commit cf74b592cd
8 changed files with 60 additions and 51 deletions

View File

@@ -22,12 +22,12 @@
Danbooru.PostPopular.initialize_all = function() {
if ($("#c-explore-posts").length) {
if (Danbooru.meta("enable-js-navigation") === "true") {
$(document).bind("keydown.a", function(e) {
$(document).bind("keydown", "a", function(e) {
Danbooru.PostPopular.nav_prev();
e.preventDefault();
});
$(document).bind("keydown.d", function(e) {
$(document).bind("keydown", "d", function(e) {
Danbooru.PostPopular.nav_next();
e.preventDefault();
});