mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-06 07:13:58 +00:00
Fix settings logic.
This commit is contained in:
parent
9418d9ea6a
commit
2c78b5967f
1 changed files with 3 additions and 3 deletions
|
@ -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 = () ->
|
||||
|
|
Loading…
Reference in a new issue