Skip to main content

Bug Tracker

Side navigation

Ticket #2126: slideanimation.patch
File slideanimation.patch, 0.5 KB (added by scottgonzalez, January 11, 2008 03:51PM UTC)
Index: ui.accordion.js
===================================================================
--- ui.accordion.js	(revision 4422)
+++ ui.accordion.js	(working copy)
@@ -32,7 +32,12 @@
 				},
 				duration: settings.duration,
 				easing: settings.easing,
-				complete: settings.complete
+				complete: function() {
+					if ( !settings.autoheight ) {
+						settings.toShow.css("height", "auto");
+					}
+					settings.complete();
+				}
 			});
 		},
 		bounceslide: function(settings) {

Download in other formats:

Original Format