From 963a14b33cf1311a47c5e2aaa055053707415ef9 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Tue, 19 Sep 2017 14:25:30 +0100 Subject: [PATCH] Fix incorrectly named var and remove unneccessary semicolon --- .../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 897983f47a..067a85f0d2 100644 --- a/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee +++ b/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee @@ -82,7 +82,7 @@ define [ timeSinceLastCompile = Date.now() - $scope.recompiledAt # If time is non-monotonic, assume that the user's system clock has been # changed and continue with recompile - isTimeNonMonotonic = timeSinceLastPoll < 0; + isTimeNonMonotonic = timeSinceLastCompile < 0 if isTimeNonMonotonic || timeSinceLastCompile >= AUTO_COMPILE_TIMEOUT if (!ide.$scope.hasLintingError)