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

Fix uncaught type error on clicking lexical this #93

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

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.

None yet

2 participants