mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Prevent autocompile if pdf preview is hidden
This commit is contained in:
parent
e31464b47d
commit
5b3c9f4033
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ define [
|
|||
|
||||
autoCompileTimeout = null
|
||||
triggerAutoCompile = () ->
|
||||
return if autoCompileTimeout
|
||||
return if autoCompileTimeout or $scope.ui.pdfHidden
|
||||
|
||||
timeSinceLastCompile = Date.now() - $scope.recompiledAt
|
||||
# If time is non-monotonic, assume that the user's system clock has been
|
||||
|
|
Loading…
Reference in a new issue