4 ms·
Figure out why onload is called twice, get $42
- aristus 17y ago// HANDLE: $(function) // Shortcut for document ready } else if ( jQuery.isFunction( selector ) ) { return rootjQuery.ready( selector ); } Calling jQuery(fn) twice will trigger the .ready() call twice. Apparently they are stepping on each other.
- barredo 17y agoIt's been solved http://twitter.com/atmos/status/8350201154 http://twitter.com/atmos/status/8350201154
- Pistos2 17y agoMore: http://s3.amazonaws.com/drawohara.com.html/jquery-onload-bug.html http://s3.amazonaws.com/drawohara.com.html/jquery-onload-bug...