Added a new :animated selector - only selects elements that are currently being animated.
This commit is contained in:
parent
902554a38d
commit
13b66c8ba9
|
@ -59,7 +59,10 @@ jQuery.extend({
|
||||||
has: "jQuery.find(m[3],a).length",
|
has: "jQuery.find(m[3],a).length",
|
||||||
|
|
||||||
// :header
|
// :header
|
||||||
header: "/h\\d/i.test(a.nodeName)"
|
header: "/h\\d/i.test(a.nodeName)",
|
||||||
|
|
||||||
|
// :animated
|
||||||
|
animated: "jQuery.grep(jQuery.timers,function(fn){return a==fn.elem;}).length"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue