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

Fix triggering autocompile in rollout

Alasdair Smith пре 9 година
родитељ
комит
15d3e5eb6e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      services/web/public/coffee/ide/pdf/controllers/PdfController.coffee

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

@@ -109,7 +109,7 @@ define [
 				toggleAutoCompile(newValue)
 				toggleAutoCompile(newValue)
 				event_tracking.sendMB "autocompile-setting-changed", { value: newValue }
 				event_tracking.sendMB "autocompile-setting-changed", { value: newValue }
 
 
-		if (window.user?.betaProgram or window.showAutoCompileOnboarding) and $scope.autocompile_enabled
+		if (window.user?.betaProgram or window.autoCompileEnabled) and $scope.autocompile_enabled
 			toggleAutoCompile(true)
 			toggleAutoCompile(true)
 
 
 		# abort compile if syntax checks fail
 		# abort compile if syntax checks fail