aboutsummaryrefslogtreecommitdiff
path: root/js/bootstrap-tab.js
diff options
context:
space:
mode:
authorEvan Meagher <[email protected]>2011-12-02 10:47:46 -0800
committerEvan Meagher <[email protected]>2011-12-02 10:47:46 -0800
commit3726df695eedecee323920305cb5d486a787acd6 (patch)
treecc1727ab482f0ddc35ed84da330802c180bcb860 /js/bootstrap-tab.js
parent61e84d8762d79befb2d75685705fd4e451a609fe (diff)
parentcee2f61898f4807311402fed747a93ee68a31f8f (diff)
downloadbootstrap-3726df695eedecee323920305cb5d486a787acd6.tar.xz
bootstrap-3726df695eedecee323920305cb5d486a787acd6.zip
Merge remote-tracking branch 'upstream/2.0-wip' into add-vertical-nav-divider
Diffstat (limited to 'js/bootstrap-tab.js')
-rw-r--r--js/bootstrap-tab.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/bootstrap-tab.js b/js/bootstrap-tab.js
index ba956cbe8..6aa8ae32c 100644
--- a/js/bootstrap-tab.js
+++ b/js/bootstrap-tab.js
@@ -31,7 +31,9 @@
Tab.prototype = {
- show: function () {
+ constructor: Tab
+
+ , show: function () {
var $this = this.element
, $ul = $this.closest('ul:not(.dropdown-menu)')
, href = $this.attr('data-target') || $this.attr('href')