diff --git a/app/views/games/_repository.html.erb b/app/views/games/_repository.html.erb index b3d04f197..567dd3673 100644 --- a/app/views/games/_repository.html.erb +++ b/app/views/games/_repository.html.erb @@ -97,7 +97,7 @@ ""); console.log("##################################"+$(".add-webssh").length); if($(".add-webssh").length == 5){ - $('#codetab_nav_add').addClass("undis"); + $(this).hide(); } LoadingWebssh(); @@ -117,7 +117,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);