We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5363352 commit 835ca9bCopy full SHA for 835ca9b
_plugins/jekyll-tabs-lib/template.erb
@@ -4,15 +4,15 @@
4
<input
5
type="radio"
6
name="<%= @name %>_tabs"
7
- id="<%= tab.anchor %>_description"
+ id="<%= @name %>_<%= tab.anchor %>_description"
8
data-target="<%= tab.anchor %>"
9
hidden aria-hidden="true"
10
<%= tab.defaultTab ? 'checked' : ''%>>
11
<% end %>
12
<ul hidden aria-hidden="true" class="nav-tab">
13
<% environment["tabs-#{@name}"].each do | tab | %>
14
<li class="item-tab">
15
- <label class="item-tab-link" for="<%= tab.anchor %>_description"><%= tab.label %></label>
+ <label class="item-tab-link" for="<%= @name %>_<%= tab.anchor %>_description"><%= tab.label %></label>
16
</li>
17
18
</ul>
0 commit comments