Skip to content

Commit

Permalink
use title accessor in app/views/shared/content_aggregator/_viewer_pan…
Browse files Browse the repository at this point in the history
…el.html.erb
  • Loading branch information
barmintor committed Jul 23, 2024
1 parent 52a8ead commit 310038a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/shared/content_aggregator/_viewer_panel.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div id="child-viewer" class="position-relative<%= ' h-poster' if (document['iiif_behavior_ssim']&.include?("paged")) -%>">
<% parent_title = document['title_ssm'].first.strip %>
<% parent_title = document.title %>
<p id="child-viewer-subtitle">&nbsp;</p>

<% if (structured_children.length == 0) && archive_org_id_for_document(document) %>
Expand Down

0 comments on commit 310038a

Please sign in to comment.