diff options
author | bob <bcz@cs.brown.edu> | 2020-01-28 18:14:59 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2020-01-28 18:14:59 -0500 |
commit | 0361c04360362c31e4bdd5d27b52707b4e288662 (patch) | |
tree | 8d2682b9a664c7f4e43ddb240ea135525d0bd416 /src/client/util/RichTextSchema.tsx | |
parent | d1ed73e0a0fa3f3da9811edfe3233c663d34cffa (diff) |
added captions to carousel. cleaned up some stuff.
Diffstat (limited to 'src/client/util/RichTextSchema.tsx')
-rw-r--r-- | src/client/util/RichTextSchema.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/RichTextSchema.tsx b/src/client/util/RichTextSchema.tsx index 7051ba1c3..f667b86af 100644 --- a/src/client/util/RichTextSchema.tsx +++ b/src/client/util/RichTextSchema.tsx @@ -757,7 +757,7 @@ export class DashDocView { DocServer.GetRefField(node.attrs.docid).then(async dashDoc => { if (dashDoc instanceof Doc) { self._dashDoc = dashDoc; - dashDoc.hideSidebar = true; + dashDoc._hideSidebar = true; if (node.attrs.width !== dashDoc._width + "px" || node.attrs.height !== dashDoc._height + "px") { try { // bcz: an exception will be thrown if two aliases are open at the same time when a doc view comment is made view.dispatch(view.state.tr.setNodeMarkup(getPos(), null, { ...node.attrs, width: dashDoc._width + "px", height: dashDoc._height + "px" })); |