فهرست منبع

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)
 				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)
 
 		# abort compile if syntax checks fail