Skip to content

Retrieve item element via firstElementChild instead of firstChild#428

Open
katranci wants to merge 1 commit into
javve:masterfrom
katranci:katranci-patch-1
Open

Retrieve item element via firstElementChild instead of firstChild#428
katranci wants to merge 1 commit into
javve:masterfrom
katranci:katranci-patch-1

Conversation

@katranci

@katranci katranci commented Jun 18, 2016

Copy link
Copy Markdown

firstChild may return a text node which causes getElementsByClassName in get-by-class.js file to fail because text nodes don't respond to getElementsByClassName.

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.

1 participant