Merge pull request #109 from jumpserver/bug_fix_guang

fix(web teminal): 修改动态改变窗口大小bug
pull/111/head
ibuler 2016-03-02 11:40:28 +08:00
commit 90c3ed96e3
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@
var geom = resize();
console.log(geom);
term_client.term.resize(geom.cols, geom.rows);
term_client.client.send({'resize': {'roles': geom.rows, 'cols': geom.cols}});
term_client.client.send({'resize': {'rows': geom.rows, 'cols': geom.cols}});
$('#ssh').show();
}