mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-13 21:53:43 +01:00
add check to make sure user hasnt turned of syntax validation before stopping autocompile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user