From e7976e423565ed3f68da213e28a95300bc33d368 Mon Sep 17 00:00:00 2001 From: liuzheng712 Date: Fri, 4 Mar 2016 20:22:46 +0800 Subject: [PATCH] fix(webterminal.js): }) bug --- static/js/webterminal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/webterminal.js b/static/js/webterminal.js index 8fc30ed4d..a9d229126 100644 --- a/static/js/webterminal.js +++ b/static/js/webterminal.js @@ -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(); }