mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 16:02:12 +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() {
|
componentWillUnmount() {
|
||||||
this.subscription.unsubscribe();
|
this.subscription.unsubscribe();
|
||||||
this.choices && this.choices.destroy();
|
/* this.choices && this.choices.destroy(); */
|
||||||
window.onbeforeunload = null;
|
window.onbeforeunload = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue