Skip to content

Commit

Permalink
fix merge conflict in package-lock.json
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcpederson committed Sep 27, 2017
2 parents 8c9fa55 + 5eb0066 commit 284f9d2
Show file tree
Hide file tree
Showing 5 changed files with 232 additions and 119 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
language: node_js
node_js:
- 'stable'
sudo: false
cache:
directories:
- node_modules
sudo: false
2 changes: 1 addition & 1 deletion docs/source/documentation/patterns/sample-code/_tabs.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<nav class="tab-nav">
<a class="tab-title is-active js-tab">Tab 1</a>
<a class="tab-title js-tab">Tab 2</a>
<a class="tab-title js-tab">Tab 3</a>
<a class="tab-title js-tab">Tab 3 <span></span></a>
</nav>
<section class="tab-contents">
<article class="tab-section js-tab-section is-active">
Expand Down
3 changes: 3 additions & 0 deletions lib/js/patterns/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ function tabs () {

function getOptions (e) {
var tab = e.target;
if (!classy.has(tab, 'tab-title')) {
tab = e.currentTarget;
}
var group = dom.closest('js-tab-group', tab);
var id = groupId(group);
return {
Expand Down
Loading

0 comments on commit 284f9d2

Please sign in to comment.