Skip to content

Commit

Permalink
remove duplicate back to top buttons (#1859)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Kim <[email protected]>
  • Loading branch information
chriskim2311 and Chris Kim authored Jan 10, 2024
1 parent 49cf631 commit 019d4ce
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/site/layouts/faq_multiple_q_a.drupal.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,13 @@
<!-- TOC -->
{% if fieldTableOfContentsBoolean %}
<button type="button" class="vads-u-visibility--screen-reader">Back to top</button>
<va-on-this-page class="vads-u-margin-left--1 vads-u-margin-bottom--0 vads-u-padding-bottom--0"></va-on-this-page>
{% endif %}
<!-- QAs -->
{% for fieldQAGroup in fieldQAGroups %}
<!-- Optional section header -->
{% if fieldQAGroup.entity.fieldSectionHeader %}
<button type="button" class="vads-u-visibility--screen-reader">Back to top</button>
<h2>{{ fieldQAGroup.entity.fieldSectionHeader }}</h2>
{% endif %}
Expand Down Expand Up @@ -100,7 +98,6 @@
{% endif %}
{% for fieldQA in fieldQAGroup.entity.fieldQAs %}
<button type="button" class="vads-u-visibility--screen-reader">Back to top</button>
<{{ fieldSectionHeaderTag }}>{{ fieldQA.entity.title }}</{{ fieldSectionHeaderTag }}>
{% if fieldQA.entity %}
{% assign fieldAnswer = fieldQA.entity.fieldAnswer %}
Expand Down

0 comments on commit 019d4ce

Please sign in to comment.