From c79e625000967a95f1b6fa52e9cbdd2be905e3ed Mon Sep 17 00:00:00 2001 From: ibuler Date: Wed, 2 Mar 2016 11:38:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(web=20teminal):=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=8A=A8=E6=80=81=E6=94=B9=E5=8F=98=E7=AA=97=E5=8F=A3=E5=A4=A7?= =?UTF-8?q?=E5=B0=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 变量名写错引起的不明显bug --- templates/jlog/web_terminal.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/jlog/web_terminal.html b/templates/jlog/web_terminal.html index 3f4683399..7dec79102 100644 --- a/templates/jlog/web_terminal.html +++ b/templates/jlog/web_terminal.html @@ -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(); }