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

Commit

Permalink
removing unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
deividmarques committed Jul 15, 2015
1 parent ad65792 commit 5a1c5a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/assets/javascripts/locastyle/_collapse.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ locastyle.collapse = (function() {

// if have collapses in group "accordeon"
function groupCollapse(collapse) {
var $group = $(collapse).parents(config.classes.groupContainer);
var $group = collapse.parents(config.classes.groupContainer);
if ($group[0]) {
$group.find(config.trigger).not($(collapse)).removeClass(config.classes.opened).find(config.classes.content).slideUp();
$group.find(config.trigger).not(collapse).removeClass(config.classes.opened).find(config.classes.content).slideUp();
}
}

Expand Down

0 comments on commit 5a1c5a0

Please sign in to comment.