Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow data-class attribute to be copied when replacing background image #115

Merged
merged 1 commit into from
Jan 9, 2015

Conversation

albertfdp
Copy link

When a div where the background image is replaced, the existing classes were not kept.

@thom4parisot
Copy link
Contributor

Well, the only altered attribute is the style one so I do see why your existing classes are not kept.

Do you rather mean that the gif.className is not added to the div?

@albertfdp
Copy link
Author

Sorry, I was not clear: it is just consistency. I am replacing both placeholders and background images on the same page and I think that using the same convention would make sense.

@thom4parisot
Copy link
Contributor

Yep you are right, it makes sense :-)

thom4parisot pushed a commit that referenced this pull request Jan 9, 2015
Allow data-class attribute to be copied when replacing background image
@thom4parisot thom4parisot merged commit 5ae0f6a into bbc:feature-88 Jan 9, 2015
@thom4parisot
Copy link
Contributor

Thank you @albertfdp!

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

Successfully merging this pull request may close these issues.

None yet

2 participants