From 643dec38dfd9ab30f3ca978475c244915a026818 Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Wed, 2 Jul 2014 12:21:11 +0700 Subject: Yandex Ad moved to bottom --- src/java/com/juick/http/www/UserThread.java | 8 ++++---- 1 file 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("

Ответы (" + replies.size() + ")

"); out.println(""); - if (replies.size() > 2) { - PageTemplates.pageYandexAd728(out, 1); - } - out.println(""); + if (replies.size() > 0) { + PageTemplates.pageYandexAd728(out, 1); + } + for (int i = 0; i < replies.size(); i++) { replies.get(i).cleanupChilds(); } -- cgit v1.2.3