diff options
author | Mark Otto <otto@github.com> | 2013-06-28 11:08:19 +0400 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2013-06-28 11:08:19 +0400 |
commit | 1a09eada35259de198ffad56a460c6ffafe890a4 (patch) | |
tree | b0a27067c4776854c0cbe3a413a86ceb881f912f /docs/assets/js/bootstrap.js | |
parent | 8e6d5be8e495dfcf8e2f46d2f40e6ff82e0eb987 (diff) |
Run make on JS
Diffstat (limited to 'docs/assets/js/bootstrap.js')
-rw-r--r-- | docs/assets/js/bootstrap.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/assets/js/bootstrap.js b/docs/assets/js/bootstrap.js index c73b8e1877..03888ac5f9 100644 --- a/docs/assets/js/bootstrap.js +++ b/docs/assets/js/bootstrap.js @@ -603,7 +603,10 @@ || e.preventDefault() || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7 var option = $(target).data('collapse') ? 'toggle' : $this.data() + var parent = $this.attr('data-parent') + var $parent = parent && $(parent) + if ($parent) $parent.find('[data-toggle=collapse][data-parent=' + parent + ']').not($this).addClass('collapsed') $this[$(target).hasClass('in') ? 'addClass' : 'removeClass']('collapsed') $(target).collapse(option) }) |