mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-10-18 09:00:11 +00:00
Compare commits
2 Commits
192c9a4764
...
1a6727312c
Author | SHA1 | Date | |
---|---|---|---|
1a6727312c | |||
91d3d2596e |
@ -45,7 +45,7 @@ export class DOMInvite implements Invite {
|
||||
for (let split of ["#", "?"]) {
|
||||
codeLink = codeLink.split(split)[0];
|
||||
}
|
||||
if (codeLink.slice(0, -1) != "/") { codeLink += "/"; }
|
||||
if (codeLink.slice(-1) != "/") { codeLink += "/"; }
|
||||
this._codeLink = codeLink + "invite/" + code;
|
||||
const linkEl = this._codeArea.querySelector("a") as HTMLAnchorElement;
|
||||
if (this.label == "") {
|
||||
|
Loading…
Reference in New Issue
Block a user