mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
define constructor on prototypes
This commit is contained in:
Vendored
+3
-1
@@ -34,7 +34,9 @@
|
||||
|
||||
Collapse.prototype = {
|
||||
|
||||
dimension: function () {
|
||||
constructor: Collapse
|
||||
|
||||
, dimension: function () {
|
||||
var hasWidth = this.$element.hasClass('width')
|
||||
return hasWidth ? 'width' : 'height'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user