mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-30 22:51:11 +00:00
Add guard against autocompile being disabled
This commit is contained in:
parent
9dd965da3c
commit
96d7d83b90
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue