fix(web teminal): 修改动态改变窗口大小bug

变量名写错引起的不明显bug
pull/109/head
ibuler 2016-03-02 11:38:38 +08:00
parent bce3def4c6
commit c79e625000
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@
var geom = resize(); var geom = resize();
console.log(geom); console.log(geom);
term_client.term.resize(geom.cols, geom.rows); 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(); $('#ssh').show();
} }