From 7f4d3ffdbc747f8fef7252e370aa6f382574efb4 Mon Sep 17 00:00:00 2001 From: liuzheng712 Date: Tue, 5 Apr 2016 12:54:37 +0800 Subject: [PATCH] bug_fix --- static/js/webterminal.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/webterminal.js b/static/js/webterminal.js index 4205e04b2..6f96ab284 100644 --- a/static/js/webterminal.js +++ b/static/js/webterminal.js @@ -63,6 +63,8 @@ function openTerminal(options) { rowHeight = 24; colWidth = 80 } + if(rowHeight){}else{rowHeight=24}; + if(colWidth){}else{colWidth=80}; var term = new Terminal({ rows: rowHeight,