Collapsible adds top, bottom corner classes to all .ui-btn-inner elements #3661

Merged
merged 1 commit into from Mar 2, 2012

3 participants

@jasonlcrane

Creating a collapsible widget adds "ui-corner-top" and "ui-corner-bottom" classes to all "ui-btn-inner" elements in the DOM, rather than just to the collapsible header. Setting the context for which ui-btn-inner to change the class on fixes the problem for me.

Example with 1.0.1: http://jsbin.com/ucijek/4
"Collapsible" in the navbar opens a page with collapsible widgets. When you return to the first page, the corners on the navbar buttons are rounded.

Example with the fix: http://jsbin.com/odexog/2

@gseguin gseguin was assigned Feb 28, 2012
@scottjehl scottjehl merged commit 2a15f18 into jquery:master Mar 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment