mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Save the syntax validation setting in the onboarding view.
This commit is contained in:
parent
f4849201aa
commit
b913118e07
1 changed files with 2 additions and 2 deletions
|
@ -7,11 +7,11 @@ define [
|
||||||
$scope.innerStep = 1
|
$scope.innerStep = 1
|
||||||
|
|
||||||
$scope.turnCodeCheckOn = () ->
|
$scope.turnCodeCheckOn = () ->
|
||||||
settings.saveProjectSettings({ syntaxValidation: true })
|
settings.saveSettings({ syntaxValidation: true })
|
||||||
navToInnerStep2()
|
navToInnerStep2()
|
||||||
|
|
||||||
$scope.turnCodeCheckOn = () ->
|
$scope.turnCodeCheckOn = () ->
|
||||||
settings.saveProjectSettings({ syntaxValidation: false })
|
settings.saveSettings({ syntaxValidation: false })
|
||||||
navToInnerStep2()
|
navToInnerStep2()
|
||||||
|
|
||||||
$scope.dismiss = () ->
|
$scope.dismiss = () ->
|
||||||
|
|
Loading…
Reference in a new issue