Save syntax checking as a user setting.

This commit is contained in:
Paulo Reis 2016-10-25 14:59:20 +01:00
parent 92c4c3db69
commit 238e07ddde

View file

@ -30,7 +30,7 @@ define [
$scope.$watch "settings.syntaxValidation", (syntaxValidation, oldSyntaxValidation) => $scope.$watch "settings.syntaxValidation", (syntaxValidation, oldSyntaxValidation) =>
if syntaxValidation != oldSyntaxValidation if syntaxValidation != oldSyntaxValidation
settings.saveProjectSettings({syntaxValidation: syntaxValidation}) settings.saveSettings({syntaxValidation: syntaxValidation})
$scope.$watch "project.spellCheckLanguage", (language, oldLanguage) => $scope.$watch "project.spellCheckLanguage", (language, oldLanguage) =>
return if @ignoreUpdates return if @ignoreUpdates