diff options
author | Ugnich Anton | 2013-01-04 00:22:09 +0700 |
---|---|---|
committer | Ugnich Anton | 2013-01-04 00:22:09 +0700 |
commit | 6df23a2abefb11b694afc359358a450f704d41bf (patch) | |
tree | d9f3a7695ba079f88efe79516df0f52391e5d65f /src/java/com/juick/http/www | |
parent | 881bc336c1cef93d08cd1f14e37f3a3feeb07e58 (diff) |
bugfix
Diffstat (limited to 'src/java/com/juick/http/www')
-rw-r--r-- | src/java/com/juick/http/www/PageTemplates.java | 2 | ||||
-rw-r--r-- | src/java/com/juick/http/www/UserThread.java | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/java/com/juick/http/www/PageTemplates.java b/src/java/com/juick/http/www/PageTemplates.java index 080752d1..80b5a22e 100644 --- a/src/java/com/juick/http/www/PageTemplates.java +++ b/src/java/com/juick/http/www/PageTemplates.java @@ -52,7 +52,7 @@ public class PageTemplates { out.println("<html>"); out.println("<head>"); out.println(" <title>" + title + "</title>"); - out.println(" <link rel=\"stylesheet\" href=\"//static.juick.com/style3.2013010300.css\"/>"); + out.println(" <link rel=\"stylesheet\" href=\"//static.juick.com/style3.2013010301.css\"/>"); out.println(" <link rel=\"icon\" type=\"image/png\" href=\"//static.juick.com/favicon.png\"/>"); out.println(" <script type=\"text/javascript\" src=\"//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js\" defer=\"defer\"></script>"); out.println(" <script type=\"text/javascript\" src=\"//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js\" defer=\"defer\" async=\"async\"></script>"); 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>"); |