organize posts.js
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
if ($("#c-posts").length && $("#a-show").length) {
|
if ($("#c-posts").length && $("#a-show").length) {
|
||||||
this.initialize_links();
|
this.initialize_links();
|
||||||
|
this.initialize_post_relationship_previews();
|
||||||
this.initialize_favlist();
|
this.initialize_favlist();
|
||||||
this.initialize_post_sections();
|
this.initialize_post_sections();
|
||||||
this.initialize_post_image_resize_links();
|
this.initialize_post_image_resize_links();
|
||||||
@@ -133,7 +134,9 @@
|
|||||||
$("#post_tag_string").trigger("focus");
|
$("#post_tag_string").trigger("focus");
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
Danbooru.Post.initialize_post_relationship_previews = function() {
|
||||||
$("#parent-relationship-preview").hide();
|
$("#parent-relationship-preview").hide();
|
||||||
$("#child-relationship-preview").hide();
|
$("#child-relationship-preview").hide();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user