mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-24 21:31:16 +00:00
Make true.
This commit is contained in:
parent
6636ee10b3
commit
f6c3ab0c80
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ class InstanceCard extends Component<InstanceCardProps, InstanceCardState> {
|
|||
|
||||
function handleModalClick(i: InstanceCard) {
|
||||
const modalId = `modal_${i.props.instance.domain}`;
|
||||
i.setState({ showModal: !i.state.showModal });
|
||||
i.setState({ showModal: true });
|
||||
(document.getElementById(modalId) as any).showModal();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue