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

.button() on a <button> doesn't preserve underlying classes #5251

Closed
taitems opened this issue Nov 6, 2012 · 2 comments
Closed

.button() on a <button> doesn't preserve underlying classes #5251

taitems opened this issue Nov 6, 2012 · 2 comments

Comments

@taitems
Copy link

taitems commented Nov 6, 2012

I just pushed an update to the iOS theme for jQuery Mobile, and moved away from .ui-btn:not(label):not(this):not(that) etc.

That means that I'm placing a class on the <a> element that remains, but when a class is placed on a <button> and it is transformed to a new DOM, the class is not sent across to the new <div>. Therefore you end up with a missing class and broken styles as below:

Image

Demo Link

@jaspermdegroot
Copy link
Contributor

@taitems

Thanks for posting the issue. We are aware of this problem, see #3577.
I am closing this ticket as duplicate.

@taitems
Copy link
Author

taitems commented Nov 6, 2012

Fantastic, I couldn't find it with the wording I was using. Expected to
drop in 1.3.0? Not a 1.2.x fix?

Sent from my iPad

On 06/11/2012, at 7:28 PM, Jasper de Groot notifications@github.com wrote:

@taitems https://github.com/taitems

Thanks for posting the issue. We are aware of this problem, see
#3577#3577
.
I am closing this ticket as duplicate.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/5251#issuecomment-10102618.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants