fix(webterminal.js): }) bug

pull/123/head
liuzheng712 2016-03-04 20:22:46 +08:00
parent 2bd3fdb4e7
commit e7976e4235
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ $(document).ready(function () {
var geom = resize();
console.log(geom);
term_client.term.resize(geom.cols, geom.rows);
term_client.client.send(JSON.stringify({'data':{'resize': {'rows': geom.rows, 'cols': geom.cols}});
term_client.client.send(JSON.stringify({'data':{'resize': {'rows': geom.rows, 'cols': geom.cols}}}));
$('#ssh').show();
}