diff --git a/app/views/games/_repository.html.erb b/app/views/games/_repository.html.erb
index b25984718..894fe737a 100644
--- a/app/views/games/_repository.html.erb
+++ b/app/views/games/_repository.html.erb
@@ -2,9 +2,9 @@
代码
-
+
<% if @myshixun.shixun.try(:webssh) %>
- 命令行
+ 命令行
<% end %>
@@ -96,7 +96,7 @@
if($(".add-webssh").length == 5){
$(this).hide();
}
- LoadingWebssh();
+ LoadingWebssh(H);
$('#blacktab_nav').find("li").click(function(){
if($(this).attr("id")=="codetab_nav_"+H+""){
HoverLi_new(H);
@@ -115,7 +115,7 @@
}
});
- function LoadingWebssh(){
+ function LoadingWebssh(H){
$.ajax({
url: "<%= open_webssh_myshixun_path(@myshixun) %>",
success: function(data){
@@ -128,7 +128,8 @@
// 测试版
var html = "";
// 本地版
- var html_local ="";
+ var html_local ="";
+ console.log(html);
$("#codetab_con_"+H).html(html);
$(".game_webssh").css("min-height", h);
$(".game_webssh").css("max-height", h);