mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-23 17:54:21 +00:00
Choices.destroy isnt working properly.
This commit is contained in:
parent
3342a6a910
commit
f0a223f337
2
ui/src/components/post-form.tsx
vendored
2
ui/src/components/post-form.tsx
vendored
|
@ -151,7 +151,7 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
|
|||
|
||||
componentWillUnmount() {
|
||||
this.subscription.unsubscribe();
|
||||
this.choices && this.choices.destroy();
|
||||
/* this.choices && this.choices.destroy(); */
|
||||
window.onbeforeunload = null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue