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

node.getAttribute is not a function #6

Closed
Veve2 opened this issue Jul 2, 2015 · 1 comment
Closed

node.getAttribute is not a function #6

Veve2 opened this issue Jul 2, 2015 · 1 comment

Comments

@Veve2
Copy link
Contributor

Veve2 commented Jul 2, 2015

Hello,

Using your plugin, I frequently had this error on line 215:
if (node.getAttribute("sorttable_customkey") != null) {

I've fixed it by adding node.nodeType == 1:
if (node.nodeType == 1 && node.getAttribute("sorttable_customkey") != null) {

@Veve2
Copy link
Contributor Author

Veve2 commented Mar 2, 2016

My bad, didn't know I shouldn't delete my fork...

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

1 participant