From 805cdb43fd02c3a5783c06b5ec2c9519be0682ab Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Mon, 22 Jan 2024 22:13:23 -0500 Subject: Data: Refactor to reduce size * Return the new value from `set(owner, key, value)`. * Use `set(owner, key, value)` rather than `access(owner, key, value)`. Close gh-5392 --- src/manipulation/domManip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/manipulation/domManip.js') diff --git a/src/manipulation/domManip.js b/src/manipulation/domManip.js index 39c146c89..ef7b9a733 100644 --- a/src/manipulation/domManip.js +++ b/src/manipulation/domManip.js @@ -82,7 +82,7 @@ export function domManip( collection, args, callback, ignored ) { for ( i = 0; i < hasScripts; i++ ) { node = scripts[ i ]; if ( rscriptType.test( node.type || "" ) && - !dataPriv.access( node, "globalEval" ) && + !dataPriv.get( node, "globalEval" ) && jQuery.contains( doc, node ) ) { if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { -- cgit v1.2.3