Merge pull request #780 from sharelatex/ns-autocompile-w-syntax-error

dont stop compiling if user has turned off syntax validation
This commit is contained in:
James Allen 2018-07-24 10:06:03 +01:00 committed by GitHub
commit de6a790f3d

View file

@ -93,7 +93,7 @@ define [
# don't want to compile as soon as it is fixed, so reset the timeout.
$scope.startedTryingAutoCompileAt = Date.now()
$scope.docLastChangedAt = Date.now()
if autoCompileLintingError
if autoCompileLintingError and $scope.stop_on_validation_error
return
# If there's a longish compile, don't compile immediately after if user is still typing