aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/juick/http/www')
-rw-r--r--src/java/com/juick/http/www/UserThread.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/java/com/juick/http/www/UserThread.java b/src/java/com/juick/http/www/UserThread.java
index 42cb5541..3b20cd76 100644
--- a/src/java/com/juick/http/www/UserThread.java
+++ b/src/java/com/juick/http/www/UserThread.java
@@ -252,10 +252,6 @@ public class UserThread {
out.println(" <h2>Ответы (" + replies.size() + ")</h2>");
out.println("</div>");
- if (replies.size() > 2) {
- PageTemplates.pageYandexAd728(out, 1);
- }
-
out.println("<ul id=\"replies\">");
if (listview) {
printList(out, replies, visitor);
@@ -264,6 +260,10 @@ public class UserThread {
}
out.println("</ul>");
+ if (replies.size() > 0) {
+ PageTemplates.pageYandexAd728(out, 1);
+ }
+
for (int i = 0; i < replies.size(); i++) {
replies.get(i).cleanupChilds();
}