Fix triggering autocompile in rollout

This commit is contained in:
Alasdair Smith 2017-11-08 10:31:41 +00:00
parent 9d74cd6063
commit 15d3e5eb6e

View file

@ -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