diff options
author | Saptak Sengupta <saptak013@gmail.com> | 2018-11-09 16:45:31 +0530 |
---|---|---|
committer | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2018-11-09 12:15:31 +0100 |
commit | 9b77def560212d12fef2d0b9c12aa50727e3e5d7 (patch) | |
tree | b059ef809c20fd23bc8b5f5a96f90ffbd7a36971 /src/css | |
parent | 549b32a05afc42a2d0f450ffa82537c3ec25630f (diff) | |
download | jquery-9b77def560212d12fef2d0b9c12aa50727e3e5d7.tar.gz jquery-9b77def560212d12fef2d0b9c12aa50727e3e5d7.zip |
Core: Recognize Shadow DOM in attachment checks
Allow `isAttached` to check Shadow DOM for attachment.
Fixes gh-3504
Closes gh-3996
Ref gh-3977
Diffstat (limited to 'src/css')
-rw-r--r-- | src/css/curCSS.js | 2 | ||||
-rw-r--r-- | src/css/var/isHiddenWithinTree.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/css/curCSS.js b/src/css/curCSS.js index 7fed20f17..98a594a77 100644 --- a/src/css/curCSS.js +++ b/src/css/curCSS.js @@ -1,6 +1,6 @@ define( [ "../core", - "../var/isAttached", + "../core/isAttached", "./var/rboxStyle", "./var/rnumnonpx", "./var/getStyles", diff --git a/src/css/var/isHiddenWithinTree.js b/src/css/var/isHiddenWithinTree.js index fd963a031..0ab610e29 100644 --- a/src/css/var/isHiddenWithinTree.js +++ b/src/css/var/isHiddenWithinTree.js @@ -1,6 +1,6 @@ define( [ "../../core", - "../../var/isAttached" + "../../core/isAttached" // css is assumed ], function( jQuery, isAttached ) { |