Skip to main content

Search and Top Navigation

#9483 closed bug (worksforme)

Opened August 06, 2013 06:03PM UTC

Closed August 06, 2013 06:09PM UTC

Accordion loses easing when only 1 item available

Reported by: ErnestV Owned by:
Priority: minor Milestone: none
Component: ui.accordion Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:
Description

When defining an accordion with only one element, the accordion loses its easing when the element is initially active.

To reproduce:

<script type="text/javascript">
/*<![CDATA[ */
$(function() {
$('#searchform').accordion({active:1,collapsible:true,animate:'swing'});
});
/* ]]> */
</script>
 ...
<div id="searchform">
	<h3>Suchen</h3>
	<div>
		<p>DIV contents go here<br/>
			DIV contents go here<br/>
			DIV contents go here<br/>
			DIV contents go here<br/>
			DIV contents go here<br/>
			DIV contents go here</p>
	</div>
</div>
Attachments (0)
Change History (2)

Changed August 06, 2013 06:04PM UTC by ErnestV comment:1

Oops, it should have been "active:0", not 1.

Changed August 06, 2013 06:09PM UTC by scottgonzalez comment:2

resolution: → worksforme
status: newclosed

Works just fine for me: http://jsbin.com/udiker/1/edit