Request the focus for the correct element.
[Sone.git] / src / main / resources / templates / index.html
index c3fe064..cb435ca 100644 (file)
@@ -23,7 +23,7 @@
                                                                replyElement.removeClass("light");
                                                        });
                                                })(replyElement);
-                                               replyElement.find("input.create-reply").focus();
+                                               replyElement.find("input.reply-input").focus();
                                        });
                                })(postId);
                                $(this).find(".create-reply").addClass("hidden");