mirror of
https://github.com/gavvvr/obsidian-timecodes-plugin.git
synced 2026-07-22 05:38:08 +00:00
chore: typo fix
This commit is contained in:
parent
e99d127bc6
commit
64cbaa3f08
1 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ export function turnRawTimecodesIntoClickableLinks(
|
|||
textForFindingVideoLink = elementNode.src
|
||||
}
|
||||
if (elementNode instanceof HTMLMediaElement) {
|
||||
latestRequiredEnricher = localMedicaEnricherFor(elementNode)
|
||||
latestRequiredEnricher = localMediaEnricherFor(elementNode)
|
||||
}
|
||||
} else if (node.nodeType === Node.TEXT_NODE) {
|
||||
const textNode = node as Text
|
||||
|
|
@ -123,7 +123,7 @@ const youtubeEnricherFor = (videoId: string): TextTimecodeEnricher => ({
|
|||
},
|
||||
})
|
||||
|
||||
const localMedicaEnricherFor = (media: HTMLMediaElement): TextTimecodeEnricher => ({
|
||||
const localMediaEnricherFor = (media: HTMLMediaElement): TextTimecodeEnricher => ({
|
||||
composeLinkElementWithTimecode: (raw, timecode) => {
|
||||
const link = document.createElement('a')
|
||||
link.href = '#'
|
||||
|
|
|
|||
Loading…
Reference in a new issue