We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8537a74 commit 130a29eCopy full SHA for 130a29e
src/data.js
@@ -51,7 +51,7 @@ jQuery.extend({
51
52
// Avoid doing any more work than we need to when trying to get data on an
53
// object that has no data at all
54
- if ( (!id || (pvt && id && !cache[ id ][ internalKey ])) && getByName && data === undefined ) {
+ if ( (!id || (pvt && id && (cache[ id ] && !cache[ id ][ internalKey ]))) && getByName && data === undefined ) {
55
return;
56
}
57
0 commit comments