Skip to content

Commit

Permalink
fix(tabs): nav item id and aria-controls (#3832)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmllr95 committed Aug 7, 2019
1 parent 981114b commit 06c6119
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/tabs/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -611,10 +611,8 @@ export const BTabs = /*#__PURE__*/ Vue.extend({
props: {
tab: tab,
tabs: tabs,
id:
tab.controlledBy ||
(this.tab && this.tab.safeId ? this.tab.safeId(`_BV_tab_button_`) : null),
controls: this.tab && this.tab.safeId ? this.tab.safeId() : null,
id: tab.controlledBy || (tab.safeId ? tab.safeId(`_BV_tab_button_`) : null),
controls: tab.safeId ? tab.safeId() : null,
tabIndex,
setSize: tabs.length,
posInSet: index + 1,
Expand Down

0 comments on commit 06c6119

Please sign in to comment.