#1686: Fix regression

903e744ae4 made it look like all searches
have deleted posts
This commit is contained in:
Toks
2014-11-23 10:40:02 -05:00
parent e638f87c83
commit b43fb8ba1b

View File

@@ -396,7 +396,7 @@
e.preventDefault();
});
if (!$(".post-preview").length && /Nobody here but us chickens/.test($("#posts").html()) && !/Deleted posts/.test($("#related-box").html())) {
if (!$(".post-preview").length && /Nobody here but us chickens/.test($("#posts").html())) {
$("#show-excerpt-link").click();
}
}