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