diff options
author | bobzel <zzzman@gmail.com> | 2022-06-20 16:27:39 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-06-20 16:27:39 -0400 |
commit | c415fb65e3d87b851015fb2ac7c41361609e0719 (patch) | |
tree | 63238f5e38daa2c3ad6ae5a77559c4fedc8a650c /src/fields | |
parent | b292a055401af6236e0537cfad603016d77a535a (diff) |
fixed contextmenu when hitting enter to not iconify. fixed : menu to add equations properly.
Diffstat (limited to 'src/fields')
-rw-r--r-- | src/fields/Doc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index 74213652b..981514b25 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -233,7 +233,7 @@ export class Doc extends RefField { } private [CachedUpdates]: { [key: string]: () => void | Promise<any> } = {}; - public static get noviceMode() { return BoolCast(Doc.UserDoc().noviceMode); } + public static get noviceMode() { return Doc.UserDoc().noviceMode as boolean; } public static set noviceMode(val) { Doc.UserDoc().noviceMode = val; } public static get defaultAclPrivate() { return Doc.UserDoc().defaultAclPrivate; } public static set defaultAclPrivate(val) { Doc.UserDoc().defaultAclPrivate = val; } |