Skip to content

Commit

Permalink
patch fixing a bootstrap 3 bug that required accordion items to have …
Browse files Browse the repository at this point in the history
…a .panel class, see twbs/bootstrap#11191
  • Loading branch information
fczuardi committed Apr 19, 2014
1 parent 36e188d commit a363f44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/scripts/lib/bootstrap/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
this.$element.trigger(startEvent)
if (startEvent.isDefaultPrevented()) return

var actives = this.$parent && this.$parent.find('> .panel > .in')
var actives = this.$parent && this.$parent.find('.collapse.in')

if (actives && actives.length) {
var hasData = actives.data('bs.collapse')
Expand Down
Loading

0 comments on commit a363f44

Please sign in to comment.