summaryrefslogtreecommitdiff
path: root/assets/js/bootstrap-collapse.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/bootstrap-collapse.js')
-rwxr-xr-xassets/js/bootstrap-collapse.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/assets/js/bootstrap-collapse.js b/assets/js/bootstrap-collapse.js
index 8134cc42..9a364468 100755
--- a/assets/js/bootstrap-collapse.js
+++ b/assets/js/bootstrap-collapse.js
@@ -1,5 +1,5 @@
/* =============================================================
- * bootstrap-collapse.js v2.0.0
+ * bootstrap-collapse.js v2.0.2
* http://twitter.github.com/bootstrap/javascript.html#collapse
* =============================================================
* Copyright 2012 Twitter, Inc.
@@ -74,7 +74,9 @@
[dimension](size || 'auto')
[0].offsetWidth
- this.$element.addClass('collapse')
+ this.$element[size ? 'addClass' : 'removeClass']('collapse')
+
+ return this
}
, transition: function ( method, startEvent, completeEvent ) {
@@ -133,4 +135,4 @@
})
})
-}( window.jQuery )
+}( window.jQuery ); \ No newline at end of file