1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-16 18:44:01 +02:00

remove collapse class on open so that dropdowns are viewable

This commit is contained in:
Jacob Thornton
2012-03-12 13:37:44 -07:00
parent cd89c34d99
commit 56fe54df43
3 changed files with 6 additions and 2 deletions

Binary file not shown.

View File

@@ -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 ) {

View File

@@ -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 ) {