From 2472c54497c09ec949405d268cd8229bc1914a3d Mon Sep 17 00:00:00 2001 From: shubham jajodia Date: Tue, 19 Oct 2021 16:10:39 +0530 Subject: [PATCH] fix undefined jquery --- lib/dom/performance/jquery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dom/performance/jquery.js b/lib/dom/performance/jquery.js index 7bc1f91..68d7ee6 100644 --- a/lib/dom/performance/jquery.js +++ b/lib/dom/performance/jquery.js @@ -10,7 +10,7 @@ let old = window.jQuery; while (old.fn && old.fn.jquery) { old = window.jQuery.noConflict(true); - if (!window.jQuery || !window.jQuery.fn) { + if (!window.jQuery || !window.jQuery.fn || !window.jQuery.fn.jquery) { break; } if (old.fn.jquery === window.jQuery.fn.jquery) {