Ticket #2969: jquery.ready-callable.patch
File jquery.ready-callable.patch, 401 bytes (added by , 14 years ago) |
---|
-
jquery.js
old new jQuery.fn.extend({ 2283 2283 // Attach the listeners 2284 2284 bindReady(); 2285 2285 2286 // Check whether given function is callable. 2287 if ( typeof fn != 'function' ) { 2288 return false; 2289 } 2286 2290 // If the DOM is already ready 2287 2291 if ( jQuery.isReady ) 2288 2292 // Execute the function immediately