aboutsummaryrefslogtreecommitdiff
path: root/docs/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-10-25 18:29:15 -0700
committerMark Otto <[email protected]>2014-10-25 18:29:15 -0700
commit9bf9aab132698e34bc1eb5661563307fc4e86d02 (patch)
tree6c4f1f57868562b5e064baad5a5518fea37b848a /docs/dist/js/bootstrap.js
parent75620dadcc3e6f6372f8e53a8f91e31746c87c25 (diff)
downloadbootstrap-9bf9aab132698e34bc1eb5661563307fc4e86d02.tar.xz
bootstrap-9bf9aab132698e34bc1eb5661563307fc4e86d02.zip
grunt
Diffstat (limited to 'docs/dist/js/bootstrap.js')
-rw-r--r--docs/dist/js/bootstrap.js17
1 files changed, 14 insertions, 3 deletions
diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js
index 35f7081f5..abf43fb6f 100644
--- a/docs/dist/js/bootstrap.js
+++ b/docs/dist/js/bootstrap.js
@@ -1972,9 +1972,15 @@ if (typeof jQuery === 'undefined') {
$active
.removeClass('active')
.find('> .dropdown-menu > .active')
- .removeClass('active')
+ .removeClass('active')
+ .end()
+ .find('[data-toggle="tab"]')
+ .attr('aria-expanded', false)
- element.addClass('active')
+ element
+ .addClass('active')
+ .find('[data-toggle="tab"]')
+ .attr('aria-expanded', true)
if (transition) {
element[0].offsetWidth // reflow for transition
@@ -1984,7 +1990,12 @@ if (typeof jQuery === 'undefined') {
}
if (element.parent('.dropdown-menu')) {
- element.closest('li.dropdown').addClass('active')
+ element
+ .closest('li.dropdown')
+ .addClass('active')
+ .end()
+ .find('[data-toggle="tab"]')
+ .attr('aria-expanded', true)
}
callback && callback()