IE flicker has been killed and setAuto now works in Firefox and IE.
[jquery.git] / jquery / jquery.js
index b3e28ed..f987c86 100644 (file)
@@ -62,7 +62,7 @@ function jQuery(a,c) {
 
        // Watch for when an array is passed in
        this.get( a.constructor == Array || a.length && a[0] != undefined && a[0].nodeType ?
-               // Assume that it's an array of DOM Elements
+               // Assume that it is an array of DOM Elements
                jQuery.merge( a, [] ) :
 
                // Find the matching elements and save them for later
@@ -1076,8 +1076,8 @@ new function() {
                 * @type jQuery
                 * @param String type An event type
                 */
-               trigger: function( type ) {
-                       jQuery.event.trigger( this, type );
+               trigger: function( type, data ) {
+                       jQuery.event.trigger( type, data, this );
                }
        };
        
@@ -1181,10 +1181,10 @@ jQuery.extend({
                return jQuery.curCSS( e, p );
        },
 
-       curCSS: function(e,p) {
+       curCSS: function(e,p,force) {
                var r;
        
-               if (e.style[p])
+               if (!force && e.style[p])
                        r = e.style[p];
                else if (e.currentStyle)
                        r = e.currentStyle[p];
@@ -1292,7 +1292,7 @@ jQuery.extend({
        
        find: function( t, context ) {
                // Make sure that the context is a DOM Element
-               if ( context && context.getElementsByTagName == undefined )
+               if ( context && context.nodeType == undefined )
                        context = null;
        
                // Set the correct context (if none is provided)