Merge pull request #561 from sharelatex/sk-fix-autopair-settings

Persist `autoPairDelimiters` setting.
This commit is contained in:
Shane Kilkelly 2017-08-01 09:09:34 +01:00 committed by GitHub
commit dcaa35f9f1

View file

@ -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?