Skip to content

Commit 5f593ce

Browse files
committed
remove duplicate button markup
1 parent dce55d6 commit 5f593ce

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

includes/article.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ <h1 class="border-bottom-0">{{ page.title }}</h1>
1717
<button class="btn-link Link--secondary js-print tooltipped tooltipped-n" aria-label="Print this article">
1818
{% include printer-icon %}
1919
</button>
20-
<button class="btn-link Link--secondary js-print tooltipped tooltipped-n" aria-label="Toggle images">
21-
{% include toggle-images %}
22-
</button>
20+
{% include toggle-images %}
2321
</div>
2422
</div>
2523

includes/toggle-images.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<button type="button" class="btn btn-outline ml-3 toggle-images" id="js-toggle-images" aria-selected="true">
1+
<button type="button" class="btn btn-outline ml-3 toggle-images tooltipped tooltipped-n" id="js-toggle-images" aria-selected="true" aria-label="Toggle images">
22
<span id="js-hide-text">{% data ui.toggle_images.hide %}</span>
33
<span id="js-show-text">{% data ui.toggle_images.show %}</span>
4-
</button>
4+
</button>

0 commit comments

Comments
 (0)