aboutsummaryrefslogtreecommitdiff
path: root/js/bootstrap-tab.js
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2011-11-30 22:42:22 -0800
committerJacob Thornton <[email protected]>2011-11-30 22:42:22 -0800
commitcee2f61898f4807311402fed747a93ee68a31f8f (patch)
treec67d1273a3da814f0a3f8af8af4f4858986b037c /js/bootstrap-tab.js
parentb1cba98aab5ee2d0576bbbbb92ba3488516290eb (diff)
downloadbootstrap-cee2f61898f4807311402fed747a93ee68a31f8f.tar.xz
bootstrap-cee2f61898f4807311402fed747a93ee68a31f8f.zip
define constructor on prototypes
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')