mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Prevent autocompile if pdf preview is hidden
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user