mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
refactor: Update JavaScript to use "Commentary" instead of "Transcript"
This commit is contained in:
parent
d4d4c6de68
commit
f664420628
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||||
// Parse the transcript section to create markers and convert timestamps to links
|
// Parse the transcript section to create markers and convert timestamps to links
|
||||||
function parseTranscript() {
|
function parseTranscript() {
|
||||||
const markers = [];
|
const markers = [];
|
||||||
// Find the Transcript heading
|
// Find the Commentary heading
|
||||||
const transcriptHeading = Array.from(document.querySelectorAll('h1')).find(el => el.textContent.trim() === 'Transcript');
|
const transcriptHeading = Array.from(document.querySelectorAll('h1')).find(el => el.textContent.trim() === 'Commentary');
|
||||||
|
|
||||||
if (transcriptHeading) {
|
if (transcriptHeading) {
|
||||||
// Get all list items after the transcript heading
|
// Get all list items after the transcript heading
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue