diff options
author | Ugnich Anton | 2014-07-02 12:21:11 +0700 |
---|---|---|
committer | Ugnich Anton | 2014-07-02 12:21:11 +0700 |
commit | 643dec38dfd9ab30f3ca978475c244915a026818 (patch) | |
tree | 7c8a9bd8ea25ad553af6fa9a67986f617ab1fa28 /src | |
parent | 6ceb03cce40e5183b2bb5e93c0cb4b5d39992e94 (diff) |
Yandex Ad moved to bottom
Diffstat (limited to 'src')
-rw-r--r-- | src/java/com/juick/http/www/UserThread.java | 8 |
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(); } |