mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Fix settings logic.
This commit is contained in:
@@ -6,12 +6,12 @@ define [
|
|||||||
|
|
||||||
$scope.turnCodeCheckOn = () ->
|
$scope.turnCodeCheckOn = () ->
|
||||||
settings.saveSettings({ syntaxValidation: true })
|
settings.saveSettings({ syntaxValidation: true })
|
||||||
scope.settings.syntaxValidation = true
|
$scope.settings.syntaxValidation = true
|
||||||
navToInnerStep2()
|
navToInnerStep2()
|
||||||
|
|
||||||
$scope.turnCodeCheckOn = () ->
|
$scope.turnCodeCheckOff = () ->
|
||||||
settings.saveSettings({ syntaxValidation: false })
|
settings.saveSettings({ syntaxValidation: false })
|
||||||
scope.settings.syntaxValidation = false
|
$scope.settings.syntaxValidation = false
|
||||||
navToInnerStep2()
|
navToInnerStep2()
|
||||||
|
|
||||||
$scope.dismiss = () ->
|
$scope.dismiss = () ->
|
||||||
|
|||||||
Reference in New Issue
Block a user