Skip to content

Commit

Permalink
Merge pull request #15 from MEDIUM-ch/master
Browse files Browse the repository at this point in the history
nested accordions need stoppropagation in click handler
  • Loading branch information
nico3333fr committed Feb 14, 2017
2 parents 5dfe419 + 663bacf commit a7c8f34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jquery-accessible-accordion-aria.js
Expand Up @@ -146,6 +146,7 @@
$button.focus();
}, 0);

e.stopPropagation()
e.preventDefault();
};

Expand Down

0 comments on commit a7c8f34

Please sign in to comment.