add favorite action underneath image

This commit is contained in:
r888888888
2017-09-05 14:41:33 -07:00
parent 93ce433c0c
commit bb228d5735
6 changed files with 18 additions and 5 deletions

View File

@@ -24,6 +24,7 @@
this.initialize_post_image_resize_to_window_link();
this.initialize_similar();
this.initialize_replace_image_dialog();
this.initialize_fav_button();
if ((Danbooru.meta("always-resize-images") === "true") || ((Danbooru.Cookie.get("dm") != "1") && (window.innerWidth <= 660))) {
$("#image-resize-to-window-link").click();
@@ -248,6 +249,9 @@
}
}
Danbooru.Post.initialize_fav_button = function() {
}
Danbooru.Post.initialize_favlist = function() {
$("#favlist").hide();
$("#hide-favlist-link").hide();