From 8169b4fa730d33f9fa0b5c8c197fff09bab5b9ba Mon Sep 17 00:00:00 2001 From: Toks Date: Wed, 24 Apr 2013 19:27:54 -0400 Subject: [PATCH] organize posts.js --- app/assets/javascripts/posts.js | 3 +++ 1 file changed, 3 insertions(+) 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();