Paulo Reis 10 лет назад
Родитель
Сommit
2c78b5967f
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      services/web/public/coffee/ide/FeatureOnboardingController.coffee

+ 3 - 3
services/web/public/coffee/ide/FeatureOnboardingController.coffee

@@ -6,12 +6,12 @@ define [
 
 		$scope.turnCodeCheckOn = () ->
 			settings.saveSettings({ syntaxValidation: true })
-			scope.settings.syntaxValidation = true
+			$scope.settings.syntaxValidation = true
 			navToInnerStep2()
 			
-		$scope.turnCodeCheckOn = () ->
+		$scope.turnCodeCheckOff = () ->
 			settings.saveSettings({ syntaxValidation: false })
-			scope.settings.syntaxValidation = false
+			$scope.settings.syntaxValidation = false
 			navToInnerStep2()
 
 		$scope.dismiss = () ->