diff --git a/app/views/games/_code_actions.html.erb b/app/views/games/_code_actions.html.erb
index 8405338b8..aa9f48703 100644
--- a/app/views/games/_code_actions.html.erb
+++ b/app/views/games/_code_actions.html.erb
@@ -78,9 +78,11 @@
/* -----------------下一关增加loading效果--------------------- */
$("#next_step").live("click", function(){
- nNext = $("#code_estimate");
- html = "下一关
";
- nNext.html(html);
+ if($("#next_step").attr("href") != "javascript:void(0);"){
+ nNext = $("#code_estimate");
+ html = "下一关
";
+ nNext.html(html);
+ }
});