(labelText)
| 942 | } |
| 943 | |
| 944 | function makeSectionEl(labelText) { |
| 945 | const section = document.createElement("div"); |
| 946 | section.className = "lib-section"; |
| 947 | const head = document.createElement("div"); |
| 948 | head.className = "lib-section-head"; |
| 949 | head.textContent = labelText; |
| 950 | section.appendChild(head); |
| 951 | return section; |
| 952 | } |
| 953 | |
| 954 | function renderRecentItem(trackId) { |
| 955 | const track = tracks[trackId]; |