From 96d7d83b90b2da6fb22ee56cc4c3d4c3ab84d286 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Thu, 11 Oct 2018 09:30:21 +0100 Subject: [PATCH] Add guard against autocompile being disabled --- .../web/public/coffee/ide/pdf/controllers/PdfController.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee b/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee index acd6b4e349..040d536b48 100644 --- a/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee +++ b/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee @@ -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