Another $ bites the dust. Should be all of them now.
[jquery.git] / src / ajax / ajax.js
index 4ade2e8..a52879a 100644 (file)
@@ -688,7 +688,7 @@ jQuery.extend({
                        var dataType = type.dataType;
                        var global = typeof type.global == "boolean" ? type.global : true;
                        var timeout = typeof type.timeout == "number" ? type.timeout : jQuery.timeout;
-                       var ifModified = type.ifModified || false;
+                       ifModified = type.ifModified || false;
                        data = type.data;
                        url = type.url;
                        type = type.type;
@@ -843,7 +843,7 @@ jQuery.extend({
                if ( type == "json" ) eval( "data = " + data );
                
                // evaluate scripts within html
-               if ( type == "html" ) $("<div>").html(data).evalScripts();
+               if ( type == "html" ) jQuery("<div>").html(data).evalScripts();
 
                return data;
        },