diff --git a/app/views/games/_pass_game_show.html.erb b/app/views/games/_pass_game_show.html.erb index 006df31d1..717ecb2cc 100644 --- a/app/views/games/_pass_game_show.html.erb +++ b/app/views/games/_pass_game_show.html.erb @@ -6,7 +6,7 @@
<% if had_done == 0 %>

恭喜您通过本关

- <%= link_to "下 一 关", {:controller => 'games', :action => "next_step", :id => game, :myshixun_id => myshixun}, :class => "task-su-btn", :remote => true %> + <%= link_to "下 一 关", {:controller => 'games', :action => "next_step", :id => game, :myshixun_id => myshixun}, :class => "task-su-btn", :onclick => "hideModal();", :remote => true %> <% else %> 查看光辉历史 <% end %> diff --git a/app/views/games/show.js.erb b/app/views/games/show.js.erb index 65062167c..7e910d2e2 100644 --- a/app/views/games/show.js.erb +++ b/app/views/games/show.js.erb @@ -14,4 +14,3 @@ $("#all_task_show").html("<%= j (render :partial => "games_list") %>"); $("#all_task_tab").trigger("click"); // 模拟全部任务点击事件 <% end %> -hideModal(); \ No newline at end of file