Bug Tracker

Opened 7 years ago

Closed 7 years ago

#13465 closed bug (notabug)

Firefox and IE reverse the order in which jQuery data- attributes are returned

Reported by: matt@… Owned by: matt@…
Priority: undecided Milestone: None
Component: unfiled Version: git
Keywords: Cc:
Blocked by: Blocking:

Description

When accessing data attribues using jQuery.data(), the order of them is reversed in Firefox and IE :(

See this pen for an example: http://codepen.io/stowball/pen/yGxrH

Change History (3)

comment:1 Changed 7 years ago by dmethvin

Owner: set to matt@…
Status: newpending

What code would depend on this?

comment:2 Changed 7 years ago by matt@…

Status: pendingnew

I was adding data attributes containing images to cycle in a carousel, which needed to be in a certain order.

comment:3 Changed 7 years ago by dmethvin

Resolution: notabug
Status: newclosed

You'd be better off determining a way to do that yourself.

Note: See TracTickets for help on using tickets.