aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-07-28 10:43:08 -0400
committerbobzel <zzzman@gmail.com>2023-07-28 10:43:08 -0400
commitdc55e58d7e80448970a071271a96536c461f29c6 (patch)
tree2b00fa7c0f1bea49788b9537a4359cff6343691b /src
parent8749e3bc1994a8150be7cab59988fcb21a93bbe4 (diff)
minor tweaks
Diffstat (limited to 'src')
-rw-r--r--src/client/views/InkTranscription.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/InkTranscription.tsx b/src/client/views/InkTranscription.tsx
index c39fa79da..6c213f40f 100644
--- a/src/client/views/InkTranscription.tsx
+++ b/src/client/views/InkTranscription.tsx
@@ -105,7 +105,7 @@ export class InkTranscription extends React.Component {
: null;
}
- r.addEventListener('exported', (e: any) => this.exportInk(e, this._textRef));
+ r?.addEventListener('exported', (e: any) => this.exportInk(e, this._textRef));
return (this._textRef = r);
};