summaryrefslogtreecommitdiff
path: root/bower_components/bootstrap/js/tab.js
diff options
context:
space:
mode:
Diffstat (limited to 'bower_components/bootstrap/js/tab.js')
-rw-r--r--bower_components/bootstrap/js/tab.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/bower_components/bootstrap/js/tab.js b/bower_components/bootstrap/js/tab.js
index ddb7fc9c..935d5bc8 100644
--- a/bower_components/bootstrap/js/tab.js
+++ b/bower_components/bootstrap/js/tab.js
@@ -1,5 +1,5 @@
/* ========================================================================
- * Bootstrap: tab.js v3.3.2
+ * Bootstrap: tab.js v3.3.4
* http://getbootstrap.com/javascript/#tabs
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
@@ -17,7 +17,7 @@
this.element = $(element)
}
- Tab.VERSION = '3.3.2'
+ Tab.VERSION = '3.3.4'
Tab.TRANSITION_DURATION = 150
@@ -88,7 +88,7 @@
element.removeClass('fade')
}
- if (element.parent('.dropdown-menu')) {
+ if (element.parent('.dropdown-menu').length) {
element
.closest('li.dropdown')
.addClass('active')