Skip to main content

Bug Tracker

Side navigation

#13094 closed bug (fixed)

Opened December 20, 2012 12:08AM UTC

Closed December 21, 2012 03:52AM UTC

If to jQuery#before passed function argument it should receive index of the current element in the set

Reported by: markel Owned by:
Priority: high Milestone: 1.9
Component: manipulation Version: git
Keywords: Cc:
Blocked by: Blocking:

But it does not –

From doc –

.before( function ) A function that returns an HTML string, DOM element(s), or jQuery object to insert before each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.
Attachments (0)
Change History (2)

Changed December 20, 2012 12:10AM UTC by markel comment:1

Changed December 21, 2012 03:52AM UTC by dmethvin comment:2

component: unfiledmanipulation
milestone: None1.9
priority: undecidedhigh
resolution: → fixed
status: newclosed