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

Only append bar to the first body element #108

Merged
merged 1 commit into from
Sep 16, 2014

Conversation

osbornebrook
Copy link
Contributor

In the case where one is using an svg diagram with a foreign object element which contains it's own self-contained html DOM, the progress bar was being applied to all of them. Resulting in many loading bars.
This patch restricts the selector to only find one element, which will the first.

In the case where one is using an svg diagram with a foreign object element which contains it's own self-contained html DOM, the progress bar was being applied to all of them. Resulting in many loading bars.
This patch restricts the selector to only find one element, which will the first.
chieffancypants added a commit that referenced this pull request Sep 16, 2014
Only append bar to the first body element
@chieffancypants chieffancypants merged commit 24cdf53 into chieffancypants:master Sep 16, 2014
@chieffancypants
Copy link
Owner

Thanks!

@chieffancypants chieffancypants added this to the next version milestone Sep 16, 2014
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.

2 participants