aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/UserThread.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2013-01-04 00:22:09 +0700
committerGravatar Ugnich Anton2013-01-04 00:22:09 +0700
commit6df23a2abefb11b694afc359358a450f704d41bf (patch)
treed9f3a7695ba079f88efe79516df0f52391e5d65f /src/java/com/juick/http/www/UserThread.java
parent881bc336c1cef93d08cd1f14e37f3a3feeb07e58 (diff)
bugfix
Diffstat (limited to 'src/java/com/juick/http/www/UserThread.java')
-rw-r--r--src/java/com/juick/http/www/UserThread.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/java/com/juick/http/www/UserThread.java b/src/java/com/juick/http/www/UserThread.java
index e0d2a4af..9001bd17 100644
--- a/src/java/com/juick/http/www/UserThread.java
+++ b/src/java/com/juick/http/www/UserThread.java
@@ -279,9 +279,6 @@ public class UserThread {
if (msg.ReplyTo == ReplyTo) {
out.print(" <li id=\"" + msg.RID + "\" class=\"msg\" style=\"");
- if (i == 0) {
- out.print("border: 0;");
- }
if (margin > 0) {
out.print("margin-left: " + margin + "px;");
}
@@ -327,7 +324,7 @@ public class UserThread {
for (int i = 0; i < replies.size(); i++) {
com.juick.Message msg = replies.get(i);
- out.print(" <li id=\"" + msg.RID + "\" class=\"msg\"" + (i == 0 ? " style=\"border: 0\"" : "") + ">");
+ out.print(" <li id=\"" + msg.RID + "\" class=\"msg\">");
if (msg.AttachmentType != null) {
if (msg.AttachmentType.equals("jpg")) {
out.println(" <div class=\"msg-media\"><a href=\"//i.juick.com/p/" + msg.MID + "-" + msg.RID + ".jpg\"><img src=\"//i.juick.com/photos-512/" + msg.MID + "-" + msg.RID + ".jpg\" alt=\"\"/></a></div>");