aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/UserThread.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2012-01-28 15:23:08 +0700
committerGravatar Ugnich Anton2012-01-28 15:23:08 +0700
commit2acfbc4184eec216c2a394029962aa2905c6b0a2 (patch)
tree800489f62d09f05ee2c9a5c4409a9c831dd8e59e /src/java/com/juick/http/www/UserThread.java
parentad61ffdbaf004dd3b33adf8f2780500069fa097b (diff)
Textarea autoresize update
Diffstat (limited to 'src/java/com/juick/http/www/UserThread.java')
-rw-r--r--src/java/com/juick/http/www/UserThread.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/java/com/juick/http/www/UserThread.java b/src/java/com/juick/http/www/UserThread.java
index 7248697b..eb3adfad 100644
--- a/src/java/com/juick/http/www/UserThread.java
+++ b/src/java/com/juick/http/www/UserThread.java
@@ -72,10 +72,6 @@ public class UserThread {
printReplies(out, sql, MID, locale, listview);
- out.println("<script type=\"text/javascript\">");
- out.println("$(\"textarea\").autoResize();");
- out.println("</script>");
-
out.println("</div>");
out.println("</div>");
@@ -149,7 +145,7 @@ public class UserThread {
out.println(" <div class=\"msg-txt\">" + txt + "</div>");
out.println(" <form action=\"/post\" method=\"POST\" enctype=\"multipart/form-data\"><input type=\"hidden\" name=\"mid\" value=\"" + mid + "\"/>");
- out.println(" <div class=\"msg-comment\"><textarea name=\"body\" rows=\"1\" placeholder=\"Add a comment...\" onkeypress=\"postformListener(this.form,event)\"></textarea></div>");
+ out.println(" <div class=\"msg-comment\"><textarea name=\"body\" rows=\"1\" class=\"reply\" placeholder=\"Add a comment...\" onkeypress=\"postformListener(this.form,event)\"></textarea></div>");
out.println(" </form>");
out.println(" </li>");