Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 76267eb

Browse files
committed
chore: clean-up
1 parent 0e487de commit 76267eb

File tree

1 file changed

+0
-6
lines changed
  • packages/coreui-react/src/components/focus-trap

1 file changed

+0
-6
lines changed

‎packages/coreui-react/src/components/focus-trap/utils.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ export const isElement = (object: unknown): object is Element => {
5656
return false
5757
}
5858

59-
// Handle jQuery objects
60-
if ('jquery' in object && object.jquery !== undefined) {
61-
const jQueryObject = object as { [key: number]: Element }
62-
return isElement(jQueryObject[0])
63-
}
64-
6559
return 'nodeType' in object && typeof object.nodeType === 'number'
6660
}
6761

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /