Skip to content

Commit

Permalink
fix undefined jquery (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
jajo-shubham authored Oct 19, 2021
1 parent 12be6cc commit 630bb7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dom/performance/jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 630bb7e

Please sign in to comment.