If the compile request errors out, set view to 'errors'.

This commit is contained in:
Shane Kilkelly 2016-03-22 15:51:05 +00:00
parent b212f33505
commit 2c321a4803

View file

@ -179,6 +179,7 @@ define [
.error () ->
$scope.pdf.compiling = false
$scope.pdf.error = true
$scope.pdf.view = 'errors'
# This needs to be public.
ide.$scope.recompile = $scope.recompile