From: Dessalines Date: Sat, 18 Jul 2020 23:36:45 +0000 (-0400) Subject: Choices.destroy isnt working properly. X-Git-Url: http://these/git/?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; }