Преглед на файлове

add check to make sure user hasnt turned of syntax validation before stopping autocompile

Nate Stemen преди 8 години
родител
ревизия
8d83da2535
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      services/web/public/coffee/ide/pdf/controllers/PdfController.coffee

+ 1 - 1
services/web/public/coffee/ide/pdf/controllers/PdfController.coffee

@@ -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