Skip to content

Commit

Permalink
fix flawed jQuery check in main/outer window script
Browse files Browse the repository at this point in the history
fixes: #1094
  • Loading branch information
gabrielgrant committed Nov 8, 2022
1 parent c0ae5c0 commit 36a6ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iframeResizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1427,7 +1427,7 @@
}
}

if (window.jQuery) {
if (typeof window.jQuery !== "undefined") {
createJQueryPublicMethod(window.jQuery)
}

Expand Down

0 comments on commit 36a6ff9

Please sign in to comment.