From 3fe28670c7cc84c429abdf94ed43dec61e794b45 Mon Sep 17 00:00:00 2001 From: miss <994230062@qq.com> Date: Fri, 18 Aug 2017 19:27:16 +0800 Subject: [PATCH] =?UTF-8?q?tab=E5=8A=A0=E5=87=8F=E7=9A=84=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/games/_repository.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/games/_repository.html.erb b/app/views/games/_repository.html.erb index 54bd78446..89243b09f 100644 --- a/app/views/games/_repository.html.erb +++ b/app/views/games/_repository.html.erb @@ -100,7 +100,7 @@ ""); console.log("##################################"+$(".add-webssh").length); if($(".add-webssh").length == 5){ - $('#codetab_nav_add').addClass("undis"); + $(this).hide(); } LoadingWebssh(); @@ -120,7 +120,7 @@ $(this).parent().hide(); $(this).parent().removeClass("add-webssh"); $("#codetab_con_"+$(this).parent().attr("data-tab")).hide(); - $('#codetab_nav_add').removeClass("undis"); + $('#codetab_nav_add').show(); HoverLi_new($(this).parent().prevAll().first(".add-webssh").attr("data-tab")); }); HoverLi_new(H);