1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-19 20:23:17 +01:00

Focus keyboard cursor on quick-reply box

This commit is contained in:
marktaiwan 2015-01-25 18:03:01 +08:00
parent f548a03e69
commit 3b5acb7df8

View File

@ -379,7 +379,8 @@
} else { } else {
$postForm.show(); $postForm.show();
} }
$postForm.find('textarea[name="body"]').focus();
$(window).on('stylesheet', function() { $(window).on('stylesheet', function() {
do_css(); do_css();
if ($('link#stylesheet').attr('href')) { if ($('link#stylesheet').attr('href')) {