change post nav setting to post nav js setting

This commit is contained in:
albert
2013-03-07 19:40:23 -05:00
parent 9765331b9c
commit 147efb74d3
5 changed files with 7 additions and 8 deletions

View File

@@ -17,7 +17,7 @@
})();
$(function() {
if ($(".paginator").length) {
if ($(".paginator").length && (Danbooru.meta("enable-js-navigation") === "true")) {
$(document).bind("keydown.right", Danbooru.Paginator.next_page);
$(document).bind("keydown.left", Danbooru.Paginator.prev_page);
}