Compare commits
8 Commits
d1233ce0ae
...
47c5010434
| Author | SHA1 | Date | |
|---|---|---|---|
| 47c5010434 | |||
| 785b5df9b7 | |||
| 674dc019a9 | |||
| 7c39b54215 | |||
| 15c2bd6a1b | |||
| 39e868daad | |||
| bc626870d8 | |||
| fa5c708b31 |
@ -121,7 +121,7 @@ function renderContent(data) {
|
||||
const indexAttr = file.file_type === 'music' ? ` data-index="${currentMusicFiles.length - 1}"` : '';
|
||||
contentHTML += `<li class="file-item">
|
||||
<a href="#" class="play-file"${indexAttr} data-url="${file.path}" data-file-type="${file.file_type}">${symbol} ${file.name.replace('.mp3', '')}</a>`;
|
||||
if (file.has_transcript && admin_enabled) {
|
||||
if (file.has_transcript) {
|
||||
contentHTML += `<a href="#" class="show-transcript" data-url="${file.transcript_url}" title="Show Transcript">📄</a>`;
|
||||
}
|
||||
contentHTML += `</li>`;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user