diff options
author | Chocobozzz <me@florianbigard.com> | 2022-01-13 13:48:02 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-01-13 13:48:02 +0100 |
commit | 696b45deb63bc9f36da9c9ee55c5d4a3a883b87e (patch) | |
tree | 35c0a134cb90c9226253cbf8a89aa16040f6a629 /client/src/app/core | |
parent | d7b052ff4e5604043cd4405ed400f314d0e9a412 (diff) | |
download | PeerTube-696b45deb63bc9f36da9c9ee55c5d4a3a883b87e.tar.gz PeerTube-696b45deb63bc9f36da9c9ee55c5d4a3a883b87e.tar.zst PeerTube-696b45deb63bc9f36da9c9ee55c5d4a3a883b87e.zip |
Fix timestamp click
Diffstat (limited to 'client/src/app/core')
-rw-r--r-- | client/src/app/core/renderer/markdown.service.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/core/renderer/markdown.service.ts b/client/src/app/core/renderer/markdown.service.ts index a81d99534..42e8c4a88 100644 --- a/client/src/app/core/renderer/markdown.service.ts +++ b/client/src/app/core/renderer/markdown.service.ts | |||
@@ -90,6 +90,8 @@ export class MarkdownService { | |||
90 | url: buildVideoLink({ shortUUID: videoShortUUID }), | 90 | url: buildVideoLink({ shortUUID: videoShortUUID }), |
91 | startTime: t | 91 | startTime: t |
92 | }) | 92 | }) |
93 | |||
94 | // Sync class name with timestamp-route-transformer directive | ||
93 | return `<a class="video-timestamp" href="${url}">${str}</a>` | 95 | return `<a class="video-timestamp" href="${url}">${str}</a>` |
94 | }) | 96 | }) |
95 | } | 97 | } |