From 77dba3ec7f9ecebc87748edba2c7362296e2cd25 Mon Sep 17 00:00:00 2001 From: guy Date: Mon, 21 Dec 2020 16:17:14 +0800 Subject: [PATCH] =?UTF-8?q?jqueryXss=E6=BC=8F=E6=B4=9Ehttps://cloud.tencen?= =?UTF-8?q?t.com/developer/article/1638163?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/platform/web/jquery/_jquery.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/platform/web/jquery/_jquery.js b/src/core/platform/web/jquery/_jquery.js index 8b34748ae..578ce4eb7 100644 --- a/src/core/platform/web/jquery/_jquery.js +++ b/src/core/platform/web/jquery/_jquery.js @@ -4495,12 +4495,6 @@ div.innerHTML = ""; support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; - // Support: IE <=9 only - // IE <=9 replaces "; - support.option = !!div.lastChild; - // #11217 - WebKit loses check when the name is after the checked attribute fragment.appendChild( div ); @@ -4526,6 +4520,12 @@ // cleanData must set properties to undefined rather than use removeAttribute div[ jQuery.expando ] = 1; support.attributes = !div.getAttribute( jQuery.expando ); + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; } )();