X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fdata.js;h=a97ac041949cd6d9c5c8f1608dbc5e66ec189df8;hb=9e06903a99caf5619d0db858ed3d24f0e6ee15db;hp=b9986f58db0fb06fc081e68f267bbdd1abe2ab41;hpb=7f5179b65431b77e89fa32623a5000e3630c191c;p=jquery.git diff --git a/src/data.js b/src/data.js index b9986f5..a97ac04 100644 --- a/src/data.js +++ b/src/data.js @@ -25,7 +25,7 @@ jQuery.extend({ var id = elem[ expando ], cache = jQuery.cache, thisCache; if ( !id && typeof name === "string" && data === undefined ) { - return null; + return; } // Compute a unique ID for the element