aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/formattedText/FootnoteView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-04-27 11:10:56 -0400
committerbobzel <zzzman@gmail.com>2023-04-27 11:10:56 -0400
commit66e5fe4d8c4c6fae768305e31b45735f563b7500 (patch)
tree7f917eb0f868c5da8b39c379a5abad99c86de808 /src/client/views/nodes/formattedText/FootnoteView.tsx
parent7342eb81f241ce0b2a5a33ddfb0c865eab6a492f (diff)
updated some text shortcuts and enabled selecting regions to make footnoes/elided text.
Diffstat (limited to 'src/client/views/nodes/formattedText/FootnoteView.tsx')
-rw-r--r--src/client/views/nodes/formattedText/FootnoteView.tsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/views/nodes/formattedText/FootnoteView.tsx b/src/client/views/nodes/formattedText/FootnoteView.tsx
index 531a60297..cf48e1250 100644
--- a/src/client/views/nodes/formattedText/FootnoteView.tsx
+++ b/src/client/views/nodes/formattedText/FootnoteView.tsx
@@ -83,13 +83,11 @@ export class FootnoteView {
};
toggle = () => {
- console.log('TOGGLE');
if (this.innerView) this.close();
else this.open();
};
close() {
- console.log('CLOSE');
this.innerView?.destroy();
this.innerView = null;
this.dom.textContent = '';