mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #34512 from overleaf/mj-floating-toolbar-option
[web] Add setting for floating toolbar menu GitOrigin-RevId: bd28f1f287f2011535c7fd530f1217f01e0cfbbc
This commit is contained in:
committed by
Copybot
parent
106dd1b07b
commit
5f79c2dd10
@@ -438,6 +438,9 @@ async function updateUserSettings(req, res, next) {
|
||||
if (body.darkModePdf != null) {
|
||||
user.ace.darkModePdf = Boolean(body.darkModePdf)
|
||||
}
|
||||
if (body.floatingMenu != null) {
|
||||
user.ace.floatingMenu = Boolean(body.floatingMenu)
|
||||
}
|
||||
if (body.zotero != null) {
|
||||
user.ace.zotero = { ...user.ace.zotero, ...body.zotero }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user