mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-07 14:32:16 +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…
Add table
Reference in a new issue