Skip to content

Commit

Permalink
fix profile page handling
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP committed Sep 16, 2023
1 parent a49f0c2 commit 8041253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inject/profilePage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if (result?.groups?.handle) {
});
injectMenuItem(button, (menu, item) => {
const element = menu.firstChild as HTMLElement;
element.appendChild(item);
element.firstChild!.after(item);
});
added = true;
}
Expand Down

0 comments on commit 8041253

Please sign in to comment.