mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
@@ -508,7 +508,7 @@ class DOMInvite implements Invite {
|
||||
this._linkEl = this._linkContainer.getElementsByClassName("invite-link")[0] as HTMLAnchorElement;
|
||||
|
||||
const copyButton = this._codeArea.getElementsByClassName("invite-copy-button")[0] as HTMLButtonElement;
|
||||
SetupCopyButton(copyButton, this._codeLink);
|
||||
SetupCopyButton(copyButton, () => { return this._codeLink; });
|
||||
|
||||
this._infoArea = document.createElement('div') as HTMLDivElement;
|
||||
this._header.appendChild(this._infoArea);
|
||||
|
||||
Reference in New Issue
Block a user