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

error while deleting the tags #9

Open
sowsan opened this issue Jun 13, 2016 · 2 comments
Open

error while deleting the tags #9

sowsan opened this issue Jun 13, 2016 · 2 comments

Comments

@sowsan
Copy link

sowsan commented Jun 13, 2016

Hello I'm getting the below error while deleting the tags using the x button..any help?

tag-item.html:159 Uncaught TypeError: Cannot read property 'parentElement' of null

Here is actual line of code.

var parent = e.target.parentElement.parentElement.parentElement;

@cheonhyangzhang
Copy link
Owner

Hi @sowsan Can you provide more details about how to reproduce this bug?

@apalaniuk
Copy link

There should be no reason to walk the parents of the event target in that event handler, since what you really want is this. See #12

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

3 participants