diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-12-11 17:00:58 -0500 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-12-11 17:00:58 -0500 |
commit | 9d8845fb64c08729b446f12206aa5ed215228f4e (patch) | |
tree | 1506f2318c815449b283a36bcdd06d55965d929e /src/client/views/nodes/DocumentView.tsx | |
parent | ad079a088ae9262a4a40a2f0d2a2c5d948140492 (diff) |
cleaned up toottipmenu and richtextschema a bit. fixed some problems with text styles. fixed warnings.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 24cc0b5ea..3620ccb34 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -148,7 +148,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu else if (!this._titleRef.current.setIsFocused(true)) { // if focus didn't change, focus on interior text... { this._titleRef.current?.setIsFocused(false); - let any = (this._mainCont.current?.getElementsByClassName("ProseMirror")?.[0] as any); + const any = (this._mainCont.current?.getElementsByClassName("ProseMirror")?.[0] as any); any.keeplocation = true; any?.focus(); } |