Commit 56fe54df authored by Jacob Thornton's avatar Jacob Thornton

remove collapse class on open so that dropdowns are viewable

parent cd89c34d
...@@ -74,7 +74,9 @@ ...@@ -74,7 +74,9 @@
[dimension](size || 'auto') [dimension](size || 'auto')
[0].offsetWidth [0].offsetWidth
this.$element.addClass('collapse') this.$element[size ? 'addClass' : 'removeClass']('collapse')
return this
} }
, transition: function ( method, startEvent, completeEvent ) { , transition: function ( method, startEvent, completeEvent ) {
......
...@@ -74,7 +74,9 @@ ...@@ -74,7 +74,9 @@
[dimension](size || 'auto') [dimension](size || 'auto')
[0].offsetWidth [0].offsetWidth
this.$element.addClass('collapse') this.$element[size ? 'addClass' : 'removeClass']('collapse')
return this
} }
, transition: function ( method, startEvent, completeEvent ) { , transition: function ( method, startEvent, completeEvent ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment