From d3a16e2cfc4ecbae085b699fe34a60ce92beaf29 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Tue, 13 Jun 2017 17:36:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E9=A1=B5=E9=9D=A2=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E5=88=B0=E8=AF=84=E6=B5=8B=E4=BF=A1=E6=81=AF=E5=90=8E?= =?UTF-8?q?=E5=86=8D=E7=82=B9=E5=87=BB=E8=AF=84=E6=B5=8B=EF=BC=8C=E8=AF=84?= =?UTF-8?q?=E6=B5=8B=E4=BF=A1=E6=81=AF=E5=87=BA=E7=8E=B0=E7=9A=84=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E6=98=AF=E6=B5=8B=E8=AF=95=E9=9B=86=EF=BC=8C=E5=B9=B6?= =?UTF-8?q?=E4=B8=8D=E6=98=AF=E8=AF=84=E6=B5=8B=E4=BF=A1=E6=81=AF=E7=9A=84?= =?UTF-8?q?=E5=8E=9F=E6=9C=AC=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/games/_code_actions.html.erb | 1 + app/views/games/_game_results.html.erb | 1 + 2 files changed, 2 insertions(+) diff --git a/app/views/games/_code_actions.html.erb b/app/views/games/_code_actions.html.erb index 347a707ee..d65ce362f 100644 --- a/app/views/games/_code_actions.html.erb +++ b/app/views/games/_code_actions.html.erb @@ -116,6 +116,7 @@ latest_output: data.latest_output }); $("#game_test_set_results").html(html); + $("#blacktab_nav_1").trigger("click"); if(data.status == 2){ clearInterval(cm); clearInterval(intId); diff --git a/app/views/games/_game_results.html.erb b/app/views/games/_game_results.html.erb index 7141bcb29..90df28e23 100644 --- a/app/views/games/_game_results.html.erb +++ b/app/views/games/_game_results.html.erb @@ -115,6 +115,7 @@ } ); $("#game_test_set_results").html(html); + $("#blacktab_nav_1").trigger("click"); }); // 公开的测试集允许展开与隐藏 function toggle_test_case(t_case, id){