Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #170 from metmuseum/audio-player-comment
Browse files Browse the repository at this point in the history
comment out empty div for track length in audio player markup
  • Loading branch information
stephenhmarsh committed Jan 18, 2022
2 parents 5f6758b + cd7e3e4 commit 9b5f474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/audio-player/audio-player.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const audioPlayerMarkUp = ({model, options}) => html`
src="${playlistTrack.image.small}"
/>
<div class="audio-player__playlist-track-title">${playlistTrack.title}</div>
<div></div>
<!-- <div> track length goes here if we have it </div> -->
</li>`;}).join("")}` : ""}</ol> <!-- no whitespace! :empty needs to work to hide it -->
<div class="audio-player__transcript-section audio-player__transcript-section--transcript-${!!model?.track?.transcript?.length} js-audio-player__transcript-section">
Expand Down

0 comments on commit 9b5f474

Please sign in to comment.