mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Add guard against autocompile being disabled
This commit is contained in:
@@ -71,7 +71,7 @@ define [
|
||||
|
||||
autoCompileInterval = null
|
||||
autoCompileIfReady = () ->
|
||||
if $scope.pdf.compiling
|
||||
if $scope.pdf.compiling or !$scope.autocompile_enabled
|
||||
return
|
||||
|
||||
# Only checking linting if syntaxValidation is on and visible to the user
|
||||
|
||||
Reference in New Issue
Block a user