Skip to content

Minor fix for compatibility with modern jQuery#3

Closed
klenin wants to merge 1 commit intocoderifous:masterfrom
klenin:master
Closed

Minor fix for compatibility with modern jQuery#3
klenin wants to merge 1 commit intocoderifous:masterfrom
klenin:master

Conversation

@klenin
Copy link
Contributor

@klenin klenin commented Sep 7, 2010

No description provided.

It seems that attr('tagName') returns undefined in the modern jQuery
(See http://stackoverflow.com/questions/1532331/can-jquery-provide-the-tag-name)
In any case 'is' seems stylistycally preferable.
@MarcusJT
Copy link

Nice catch! Definitely worth pulling...

@coderifous
Copy link
Owner

Thanks. Agree about the idiomaticness.

This pull request was closed.
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.

3 participants

Comments