mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
Update DOMHelper.ts
This commit is contained in:
parent
1ed0db0c65
commit
3b38b79aac
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ import { CopyFileButton, copyFileButtonClassName } from './CopyFileButton'
|
|||
|
||||
export function resolveMeta(): Partial<MetaData> {
|
||||
const metaData = {
|
||||
userName: $('[itemprop="author"] > a[rel="author"]]', e => e.textContent?.trim()),
|
||||
userName: $('[itemprop="author"] > a[rel="author"]', e => e.textContent?.trim()),
|
||||
repoName: $('[itemprop="name"] > a[href]', e => e.textContent?.trim()),
|
||||
branchName: getCurrentBranch(true),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue