aboutsummaryrefslogtreecommitdiff
path: root/docs/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-12-27 14:13:56 -0800
committerMark Otto <[email protected]>2016-12-27 14:13:56 -0800
commit7a91b65d471cc6db9983cbed7bafe8947f2329f3 (patch)
tree7b0475dbdce94a0589f72b3200132bb190277e7c /docs/dist/js/bootstrap.js
parentdac31ebf35a25d3236de9b63f6b957c504aa7e58 (diff)
downloadbootstrap-7a91b65d471cc6db9983cbed7bafe8947f2329f3.tar.xz
bootstrap-7a91b65d471cc6db9983cbed7bafe8947f2329f3.zip
grunt
Diffstat (limited to 'docs/dist/js/bootstrap.js')
-rw-r--r--docs/dist/js/bootstrap.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js
index b77bb41ad..b19fca4ed 100644
--- a/docs/dist/js/bootstrap.js
+++ b/docs/dist/js/bootstrap.js
@@ -2509,6 +2509,7 @@ var Tab = function ($) {
var ClassName = {
DROPDOWN_MENU: 'dropdown-menu',
ACTIVE: 'active',
+ DISABLED: 'disabled',
FADE: 'fade',
SHOW: 'show'
};
@@ -2546,7 +2547,7 @@ var Tab = function ($) {
Tab.prototype.show = function show() {
var _this20 = this;
- if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && $(this._element).hasClass(ClassName.ACTIVE)) {
+ if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && $(this._element).hasClass(ClassName.ACTIVE) || $(this._element).hasClass(ClassName.DISABLED)) {
return;
}