Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
improvement function ariaCollapse
Browse files Browse the repository at this point in the history
  • Loading branch information
deividmarques committed Jul 14, 2015
1 parent d22a88b commit ad65792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/assets/javascripts/locastyle/_collapse.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ locastyle.collapse = (function() {


function ariaCollapse(elem) {
if($(elem).hasClass('ls-collapse-open')){
if($(elem).hasClass(config.classes.open)){
$(config.classes.header).attr({ 'aria-expanded' : true });
$(config.classes.content).attr({ 'aria-hidden' : false });
}else{
Expand Down

0 comments on commit ad65792

Please sign in to comment.