Fix possible edge case

This commit is contained in:
Toks
2013-07-22 18:12:13 -04:00
parent 11ed02a17f
commit 53eaf3f29b

View File

@@ -433,7 +433,7 @@
e.preventDefault();
});
if (/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()) && !/Deleted posts/.test($("#related-box").html())) {
$("#show-excerpt-link").click();
}
}