Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

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

Merged
merged 1 commit into from Mar 2, 2012
Merged

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

merged 1 commit into from Mar 2, 2012

Conversation

jasonlcrane
Copy link
Contributor

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

@ghost ghost assigned gseguin Feb 28, 2012
scottjehl pushed a commit that referenced this pull request Mar 2, 2012
Collapsible adds top, bottom corner classes to all .ui-btn-inner elements
@scottjehl scottjehl merged commit 2a15f18 into jquery-archive:master Mar 2, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants