No need to loop anymore as terminal is created after dialog opens now

This commit is contained in:
Marcos Lilljedahl
2017-07-10 17:42:04 -03:00
parent 632adee653
commit 5bd30907b8

View File

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