From: Dessalines Date: Sat, 18 Jul 2020 23:36:45 +0000 (-0400) Subject: Choices.destroy isnt working properly. X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/readmes/%7B%7D/%22%7Burl%7D/%7Bthis.src%28%27jpg%27%29%7D?a=commitdiff_plain;h=f0a223f33708375b6baa1938fa4eca640ab90695;p=lemmy.git Choices.destroy isnt working properly. --- diff --git a/ui/src/components/post-form.tsx b/ui/src/components/post-form.tsx index f94f902f..6656ef84 100644 --- a/ui/src/components/post-form.tsx +++ b/ui/src/components/post-form.tsx @@ -151,7 +151,7 @@ export class PostForm extends Component { componentWillUnmount() { this.subscription.unsubscribe(); - this.choices && this.choices.destroy(); + /* this.choices && this.choices.destroy(); */ window.onbeforeunload = null; }