From 591324854bc3fde0c98287b0e98bb8ef52641476 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Fri, 25 Sep 2015 17:22:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=BC=BA=E9=99=B7=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E7=95=99=E8=A8=80=EF=BC=8C=E4=B8=8B=E9=9D=A2=E7=95=99?= =?UTF-8?q?=E8=A8=80=E6=A1=86=E8=8E=B7=E5=BE=97=E7=84=A6=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/javascripts/project.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/javascripts/project.js b/public/javascripts/project.js index 10561fe01..3553b4cef 100644 --- a/public/javascripts/project.js +++ b/public/javascripts/project.js @@ -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); }