diff --git a/app/assets/javascripts/posts.js b/app/assets/javascripts/posts.js index ace0055b3..057c4fa3c 100644 --- a/app/assets/javascripts/posts.js +++ b/app/assets/javascripts/posts.js @@ -18,6 +18,7 @@ if ($("#c-posts").length && $("#a-show").length) { this.initialize_links(); + this.initialize_post_relationship_previews(); this.initialize_favlist(); this.initialize_post_sections(); this.initialize_post_image_resize_links(); @@ -133,7 +134,9 @@ $("#post_tag_string").trigger("focus"); e.preventDefault(); }); + } + Danbooru.Post.initialize_post_relationship_previews = function() { $("#parent-relationship-preview").hide(); $("#child-relationship-preview").hide();