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

Cannot read property 'replace' of null #56

Closed
stevenspiel opened this issue Jul 29, 2015 · 3 comments
Closed

Cannot read property 'replace' of null #56

stevenspiel opened this issue Jul 29, 2015 · 3 comments

Comments

@stevenspiel
Copy link

line 12355 of latest build has

$.axs.properties.getTextFromDescendantContent(el) // where el = <a class="navbar-brand" href="/"></a>

which is returning null for me.

Full trace:

Uncaught TypeError: Cannot read property 'replace' of nullis
DescriptiveText @ tota11y.js?body=1:formatted:12626
validateTextContent @ tota11y.js?body=1:formatted:12644
(anonymous function) @ tota11y.js?body=1:formatted:12692
jQuery.extend.each @ tota11y.js?body=1:formatted:610
jQuery.fn.jQuery.each @ tota11y.js?body=1:formatted:374
run @ tota11y.js?body=1:formatted:12673
(anonymous function) @ tota11y.js?body=1:formatted:10067
jQuery.event.dispatch @ tota11y.js?body=1:formatted:4679
jQuery.event.add.elemData.handle @ tota11y.js?body=1:formatted:4365
@jdan
Copy link
Owner

jdan commented Jul 29, 2015

This was fixed in #48 - I just need to push out a new release. Will do so today, sorry for the confusion!

@jdan jdan closed this as completed Jul 29, 2015
@stevenspiel
Copy link
Author

awesome. thank you!

@jdan
Copy link
Owner

jdan commented Jul 29, 2015

@stevenspiel I went ahead and pushed out a new release - let me know if things are not working correctly. Sorry to not update here!

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

No branches or pull requests

2 participants