This commit is contained in:
Toks
2013-05-11 18:00:28 -04:00
parent aa3b1a0c4d
commit ddfa019c4c
4 changed files with 17 additions and 1 deletions

View File

@@ -170,6 +170,10 @@
Danbooru.Post.initialize_favlist = function() {
$("#favlist").hide();
$("#hide-favlist-link").hide();
var fav_count = $("#show-favlist-link").prev().text();
if (fav_count === "0") {
$("#show-favlist-link").hide();
}
$("#show-favlist-link").click(function(e) {
$("#favlist").show();