mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #561 from sharelatex/sk-fix-autopair-settings
Persist `autoPairDelimiters` setting.
This commit is contained in:
commit
dcaa35f9f1
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ module.exports = UserController =
|
||||||
user.ace.fontSize = req.body.fontSize
|
user.ace.fontSize = req.body.fontSize
|
||||||
if req.body.autoComplete?
|
if req.body.autoComplete?
|
||||||
user.ace.autoComplete = req.body.autoComplete
|
user.ace.autoComplete = req.body.autoComplete
|
||||||
|
if req.body.autoPairDelimiters?
|
||||||
|
user.ace.autoPairDelimiters = req.body.autoPairDelimiters
|
||||||
if req.body.spellCheckLanguage?
|
if req.body.spellCheckLanguage?
|
||||||
user.ace.spellCheckLanguage = req.body.spellCheckLanguage
|
user.ace.spellCheckLanguage = req.body.spellCheckLanguage
|
||||||
if req.body.pdfViewer?
|
if req.body.pdfViewer?
|
||||||
|
|
Loading…
Reference in a new issue