Opened 12 years ago
Closed 12 years ago
#7163 closed bug (worksforme)
Calling data() on an empty set throws "TypeError: a is undefined"
Reported by: | Tgr | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.4.3 |
Component: | data | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Calling $('noSuchElement').data() throws a type error in jQuery 1.4.2. I do not have an unminified version at hand, in the minified version Firebug indicates line 39.
Note: See
TracTickets for help on using
tickets.
This was resolved in jQuery 1.4.3.