Skip to content

Commit bc5d395

Browse files
authored
repair classes for audio no-transcript embed logo
1 parent ca0ff34 commit bc5d395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/hyrax/file_sets/_media_embedded.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</div>
2929
<div id="content-warning-media" style="visibility:hidden">
3030
<% end %>
31-
<div id="fulcrum-embed-link<%= ' audio no-transcript' if @presenter.audio_without_closed_captions? %>">
31+
<div id="fulcrum-embed-link"<%= ' class="audio no-transcript"'.html_safe if @presenter.audio_without_closed_captions? %>>
3232
<%# note embed_fulcrum_logo_title is double-quoted, <base target="_blank"> in embedded.html.erb doesn't work here %>
3333
<a href="<%= @presenter.embed_fulcrum_logo_link %>"
3434
aria-label='<%= @presenter.embed_fulcrum_logo_title %>'

0 commit comments

Comments
 (0)