From 5bd30907b8105919845f5b89f63754dd3a5b8367 Mon Sep 17 00:00:00 2001 From: Marcos Lilljedahl Date: Mon, 10 Jul 2017 17:42:04 -0300 Subject: [PATCH] No need to loop anymore as terminal is created after dialog opens now --- www/assets/app.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/www/assets/app.js b/www/assets/app.js index 2d17cc6..e7b1067 100644 --- a/www/assets/app.js +++ b/www/assets/app.js @@ -273,11 +273,6 @@ $scope.createBuilderTerminal = function() { var builderTerminalContainer = document.getElementById('builder-terminal'); - // For some reason the dialog DOM might not be ready, so we just keep trying - if (!builderTerminalContainer) { - setTimeout($scope.createBuilderTerminal, 100); - return; - } let term = new Terminal({ cursorBlink: false });