From 3b5acb7df802790dd46de624be1419aaf3d638dd Mon Sep 17 00:00:00 2001 From: marktaiwan Date: Sun, 25 Jan 2015 18:03:01 +0800 Subject: [PATCH] Focus keyboard cursor on quick-reply box --- js/quick-reply.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/quick-reply.js b/js/quick-reply.js index eaa152fd..9ac1a593 100644 --- a/js/quick-reply.js +++ b/js/quick-reply.js @@ -379,7 +379,8 @@ } else { $postForm.show(); } - + + $postForm.find('textarea[name="body"]').focus(); $(window).on('stylesheet', function() { do_css(); if ($('link#stylesheet').attr('href')) {