[source:fix] GitHub openProfile action

This commit is contained in:
Maddison Hellstrom 2020-11-16 22:15:30 -08:00
parent 8dda4cdbd8
commit bd726a168a
1 changed files with 1 additions and 1 deletions

View File

@ -533,7 +533,7 @@ actions.gh.openRepoOwner = () => {
}
actions.gh.openProfile = () =>
actions.openLink(`${document.querySelector("a.user-profile-link").href}`)()
actions.openLink(`/${document.querySelector("meta[name='user-login']").content}`)()
actions.gh.toggleLangStats = () =>
document.querySelector(".repository-lang-stats-graph").click()