Merge pull request #109 from jumpserver/bug_fix_guang

fix(web teminal): 修改动态改变窗口大小bug
This commit is contained in:
ibuler
2016-03-02 11:40:28 +08:00

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();
}