From d71c7a72c8cebb0f2b6df6b38728309f0ea4ba5f Mon Sep 17 00:00:00 2001 From: cxt Date: Fri, 18 Aug 2017 15:54:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=87=BB=E8=AF=84=E6=B5=8B=E6=97=B6?= =?UTF-8?q?=E2=80=9C=E4=B8=8B=E4=B8=80=E5=85=B3=E2=80=9D=E6=9C=89=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/games/_code_actions.html.erb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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); + } });