This commit is contained in:
huang 2017-08-18 16:25:09 +08:00
parent 8df293cfcd
commit 66a2fdc174
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@
var html = "<iframe src='<%= Redmine::Configuration['webssh'] %>/?Host=" + data.host + "&Port=" + data.port + "&Username=" + data.username + "&Password=" + data.password + "&Gameid=" + data.game_id + "&rows=" + rows + "'" + " style='width:100%;border:0;' scrolling='no' id='game_webssh'></iframe><div class='-brother undis'></div>";
// 本地版
var html_local ="<iframe src='http://127.0.0.1:9527?Host=106.75.96.108&Port=40054&Username=root&Password=123123&Gameid=" +data.game_id + "&rows=" + rows + "'" + " style='width:100%;border:0;' scrolling='no' id='game_webssh'></iframe><div class='-brother undis'></div>";
$("#codetab_con_2").html(html_local);
$("#codetab_con_2").html(html);
$("#game_webssh").css("min-height", h);
HoverLi_new(2);
// console.log( $("#game_webssh").contentDocument.body.height());