Applied patch provided by Taku Sano fixing the compression errors.
[jquery.git] / event / event.js
index 43d5d05..9432c08 100644 (file)
@@ -1616,7 +1616,7 @@ new function(){
                        });
                };
                        
-       }
+       };
        
        // If Mozilla is used
        if ( jQuery.browser.mozilla || jQuery.browser.opera ) {
@@ -1657,9 +1657,9 @@ new function(){
                                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 );
-       
 }