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

HTML element ids need to be unique #102

Closed
jhfrench opened this issue Jan 21, 2015 · 3 comments · Fixed by #103
Closed

HTML element ids need to be unique #102

jhfrench opened this issue Jan 21, 2015 · 3 comments · Fixed by #103
Labels

Comments

@jhfrench
Copy link
Contributor

There are two HTML elements in the playbook with an id of "plays":

$('[id="plays"]') //[<a class=​"anchor_offset" id=​"plays">​</a>​, <div id=​"plays" class=​"outer_container">​…​</div>​]

HTML element ids need to be unique.

@jhfrench
Copy link
Contributor Author

Confirmed that "plays" is the only duplicated id (using $('[id]').each(function(){ console.log( $(this).prop('id') ); }); )

@cew821 cew821 added the bug label Jan 21, 2015
@cew821
Copy link
Contributor

cew821 commented Jan 21, 2015

Good catch, thanks. Will try to update this soon.

jhfrench added a commit to jhfrench/playbook that referenced this issue Jan 22, 2015
…ys"]` (I decided that the first instance needed adjusting because `<div id="plays" class="outer_container">` is referenced numerous times by the CSS). Resolves usds#102
@jhfrench
Copy link
Contributor Author

Happy to help...

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

Successfully merging a pull request may close this issue.

2 participants