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

attr error #24

Closed
pmsaue0 opened this issue Jan 11, 2012 · 3 comments
Closed

attr error #24

pmsaue0 opened this issue Jan 11, 2012 · 3 comments

Comments

@pmsaue0
Copy link

pmsaue0 commented Jan 11, 2012

In line 169 you have

if($clone.prop("nodeType") == 1 && !$clone.hasClass("dontend")){ 

and you need to have

if($clone.attr("nodeType") == 1 && !$clone.hasClass("dontend")){ 
@chrisgraham
Copy link

According to my reading of the jQuery docs it should be 'prop' as of 1.6. Had no problems regarding this.

@pmsaue0
Copy link
Author

pmsaue0 commented Jan 30, 2012

Ah, I was using 1.5.2

@adamwulf
Copy link
Owner

supports either .attr or .prop in master now, so it's compatible with older versions of jquery

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