Opened 6 years ago

Closed 6 years ago

#9483 closed bug (worksforme)

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>

Change History (2)

comment:1 Changed 6 years ago by ErnestV

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

comment:2 Changed 6 years ago by Scott González

Resolution: worksforme
Status: newclosed

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

Note: See TracTickets for help on using tickets.