Skip to content

Conversation

@ryu39
Copy link

@ryu39 ryu39 commented Jun 3, 2017

Thank you for nice documents about ES6 features.

I found a slight issue on clicking 'Lexical this' in side menu, please see the following image.

problem

When 'Lexical this' link is clicked, the ev.target does not contain <a> tag element, but <code> tag element under <a> tag. And <code> tag does not have href attribute, so error is occurred.

I fixed this issue by using $(this) instead of $(ev.target). Also the argument ev is not used, so I removed it.

@ryu39 ryu39 changed the title Fix uncaught error on clicking lexical this Fix uncaught type error on clicking lexical this Jun 3, 2017
@ryu39 ryu39 force-pushed the fix/uncaught_type_error_on_clicking_lexical_this branch from 524a2a5 to fdaf2b9 Compare June 3, 2017 14:35
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