Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Commit

Permalink
fix: team menu copy link
Browse files Browse the repository at this point in the history
  • Loading branch information
leia-uwu committed Oct 29, 2024
1 parent e77b114 commit d4bf8e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/ui/teamMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export class TeamMenu {

// Invite link
if (this.roomData.roomUrl) {
const roomUrl = `${window.location.href.replace(this.roomData.roomUrl, "")}${this.roomData.roomUrl}`;
const roomUrl = `${window.location.href.replace(window.location.hash, "")}${this.roomData.roomUrl}`;
const roomCode = this.roomData.roomUrl.substring(1);

$("#team-url").html(roomUrl);
Expand Down

0 comments on commit d4bf8e5

Please sign in to comment.