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 5c3b547 commit 338068dCopy full SHA for 338068d
src/util/cloneObject.ts
@@ -11,7 +11,11 @@ export default function cloneObject<T>(source: T): T {
11
12
for (const key in source) {
13
// @ts-ignore:next-line
14
- if ("jQuery" in window && window.jQuery && source[key] instanceof window.jQuery) {
+ if (
15
+ "jQuery" in window &&
16
+ window.jQuery &&
17
+ source[key] instanceof window.jQuery
18
+ ) {
19
temp[key] = source[key];
20
} else {
21
temp[key] = cloneObject(source[key]);
0 commit comments