mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +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
|
||||
function parseTranscript() {
|
||||
const markers = [];
|
||||
// Find the Transcript heading
|
||||
const transcriptHeading = Array.from(document.querySelectorAll('h1')).find(el => el.textContent.trim() === 'Transcript');
|
||||
// Find the Commentary heading
|
||||
const transcriptHeading = Array.from(document.querySelectorAll('h1')).find(el => el.textContent.trim() === 'Commentary');
|
||||
|
||||
if (transcriptHeading) {
|
||||
// Get all list items after the transcript heading
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue