Index: event/event.js =================================================================== --- event/event.js (revision 174) +++ event/event.js (working copy) @@ -1616,7 +1616,7 @@ }); }; - } + }; // If Mozilla is used if ( jQuery.browser.mozilla || jQuery.browser.opera ) { @@ -1657,9 +1657,9 @@ jQuery.ready(); } }, 10); + } else { + // A fallback to window.onload, that will always work + jQuery.event.add( window, "load", jQuery.ready ); } - // A fallback to window.onload, that will always work - jQuery.event.add( window, "load", jQuery.ready ); - -} +}; Index: ajax/ajax.js =================================================================== --- ajax/ajax.js (revision 174) +++ ajax/ajax.js (working copy) @@ -216,11 +216,11 @@ s.push( a[i].name + "=" + encodeURIComponent( a[i].value ) ); // Otherwise, assume that it's an object of key/value pairs - else + else { // Serialize the key/values for ( var j in a ) s.push( j + "=" + encodeURIComponent( a[j] ) ); - + } // Return the resulting serialization return s.join("&"); }