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

@@ -7,8 +7,9 @@
this.initialize_titles();
if ($("#c-posts").length) {
this.initialize_shortcuts();
this.initialize_nav_help_link();
if (Danbooru.meta("enable-js-navigation") === "true") {
this.initialize_shortcuts();
}
}
if ($("#c-posts").length && $("#a-index").length) {
@@ -125,9 +126,6 @@
e.preventDefault();
});
}
Danbooru.Post.initialize_nav_help_link = function() {
}
Danbooru.Post.initialize_titles = function() {
$(".post-preview").each(function(i, v) {