mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
components/buffer: fix INVITE link
It was throwing a TypeError.
This commit is contained in:
parent
5d6de11a4c
commit
a0f8f1f52f
1 changed files with 1 additions and 5 deletions
|
@ -85,12 +85,8 @@ class LogLine extends Component {
|
|||
`;
|
||||
}
|
||||
function createChannel(channel) {
|
||||
function onClick(event) {
|
||||
event.preventDefault();
|
||||
onChannelClick(channel);
|
||||
}
|
||||
return html`
|
||||
<a href=${getChannelURL(channel)} onClick=${onClick}>
|
||||
<a href=${getChannelURL(channel)} onClick=${onChannelClick}>
|
||||
${channel}
|
||||
</a>
|
||||
`;
|
||||
|
|
Loading…
Reference in a new issue