Преглед изворни кода

Merge pull request #59 from sharelatex/bg-enable-incremental-compiles-for-all-users

enable incremental compiles for all users
Brian Gough пре 9 година
родитељ
комит
5ae8f4d578
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      services/web/public/coffee/ide/pdf/controllers/PdfController.coffee

+ 2 - 2
services/web/public/coffee/ide/pdf/controllers/PdfController.coffee

@@ -144,9 +144,9 @@ define [
 				rootDoc_id: options.rootDocOverride_id or null
 				rootDoc_id: options.rootDocOverride_id or null
 				draft: $scope.draft
 				draft: $scope.draft
 				check: checkType
 				check: checkType
-				# use incremental compile for beta users but revert to a full
+				# use incremental compile for all users but revert to a full
 				# compile if there is a server error
 				# compile if there is a server error
-				incrementalCompilesEnabled: window.user?.betaProgram and not $scope.pdf.error
+				incrementalCompilesEnabled: not $scope.pdf.error
 				_csrf: window.csrfToken
 				_csrf: window.csrfToken
 			}, {params: params}
 			}, {params: params}