I have problem with empty item(s) in accordion UI.
I have 3 sections.
+ Section 1
+ Section 2 (empty)
+ Section 3
html
<div id="accordion">
<h3>Section 1</h3>
<div>content 1</div>
<h3>Section 2 (empty)</h3>
<div></div>
<h3>Section 3</h3>
<div>content 3</div>
</div>
jQuery
$(function() {
$("#accordion").accordion({
autoHeight: false,
active: false,
collapsible: true,
});
});
Example: http://jsfiddle.net/ty5ZH/
When I click on Section 2
an than click on other section, accordion doesn't work.
If I click on Section 2
an than click on Section 2
again a than click on other section everythigs works fine.
Is jQuery UI accordion bug?