aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/UserThread.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/juick/http/www/UserThread.java')
-rw-r--r--src/java/com/juick/http/www/UserThread.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/java/com/juick/http/www/UserThread.java b/src/java/com/juick/http/www/UserThread.java
index 406698bf..e64b4437 100644
--- a/src/java/com/juick/http/www/UserThread.java
+++ b/src/java/com/juick/http/www/UserThread.java
@@ -71,7 +71,7 @@ public class UserThread {
PageTemplates.pageNavigation(out, locale, visitor);
PageTemplates.pageUserTitle(out, sql, locale, user, visitor);
-
+
out.println("<div id=\"wrapper\">");
out.println("<div id=\"content\" style=\"margin-left: 0; width: 100%\">");
@@ -80,9 +80,14 @@ public class UserThread {
printReplies(out, sql, MID, locale, listview);
out.println("</div>");
-
+
out.println("</div>");
+ out.println("<script type=\"text/javascript\">");
+ out.println("$(document).ready(unfoldReply);");
+ out.println("$(window).bind('hashchange',unfoldReply);");
+ out.println("</script>");
+
PageTemplates.pageFooter(request, out, locale, visitor);
} finally {
out.close();