move recommended tab to second position

This commit is contained in:
r888888888
2018-07-21 12:09:16 -07:00
parent 9cfb629891
commit 93c074c15b
3 changed files with 6 additions and 10 deletions

View File

@@ -467,13 +467,8 @@
$("#notes").hide();
$("#edit").hide();
if ($("#recommended").data("available")) {
$("#post-sections li:first-child").addClass("active");
$("#comments").hide();
} else {
$("#post-sections li:nth-child(2)").addClass("active");
$("#recommended").hide();
}
$("#recommended").hide();
$("#post-sections li:first-child").addClass("active");
}
Danbooru.Post.resize_ugoira_controls = function() {