Skip to main content

Bug Tracker

Side navigation

Ticket #3738: animated-filter.patch
File animated-filter.patch, 0.5 KB (added by paul.irish, December 23, 2008 12:09AM UTC)

adding back :animated

Index: selector.js
===================================================================
--- selector.js	(revision 5994)
+++ selector.js	(working copy)
@@ -807,6 +807,9 @@
 		jQuery.css(elem, "display") !== "none" &&
 		jQuery.css(elem, "visibility") !== "hidden";
 };
+Sizzle.selectors.filters.animated = function(elem){
+  return jQuery.grep(jQuery.timers,function(fn){return elem==fn.elem;}).length;
+};
 
 jQuery.multiFilter = function( expr, elems, not ) {
 	if ( not ) {

Download in other formats:

Original Format