项目缺陷点击留言,下面留言框获得焦点
This commit is contained in:
parent
aa07c3408f
commit
591324854b
|
@ -362,9 +362,11 @@ $(document).ready(function () {
|
|||
});
|
||||
|
||||
function showAndScrollTo(id, focus) {
|
||||
|
||||
$('#' + id).show();
|
||||
if (focus !== null) {
|
||||
$('#' + focus).focus();
|
||||
$('#' + focus).focus();
|
||||
issue_journal_kind_reply.focus();
|
||||
}
|
||||
$('html, body').animate({scrollTop: $('#' + id).offset().top}, 400);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue