diff --git a/app/assets/javascripts/posts.js b/app/assets/javascripts/posts.js index a5d1ca6df..785a14d18 100644 --- a/app/assets/javascripts/posts.js +++ b/app/assets/javascripts/posts.js @@ -302,6 +302,10 @@ $("#wiki-page-excerpt").show(); e.preventDefault(); }); + + if (/Nobody here but us chickens/.test($("#posts").html()) && !/Deleted posts/.test($("#related_list"))) { + $("#show-wiki-excerpt-link").click(); + } } Danbooru.Post.initialize_post_sections = function() {