Add support back for IE11

Fixes #1033
This commit is contained in:
Daniel Imms
2017-10-05 20:22:05 -07:00
parent 22af08d86e
commit be8ddb11db
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ function createTerminal() {
term.fit();
// fit is called within a setTimeout, cols and rows need this.
setTimeout(() => {
setTimeout(function () {
colsElement.value = term.cols;
rowsElement.value = term.rows;