We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug PR #613 introduced a flawed check for jQuery:
('jQuery' in window) && ('iFrameResize' in window.jQuery.prototype)
see https://github.com/davidjbradshaw/iframe-resizer/pull/613/files
if jQuery is set to undefined this check will result in an error:
jQuery
undefined
To Reproduce Steps to reproduce the behavior:
'jQuery' in window
window.jQuery = undefined
'jQuery' in window && 'iFrameResize' in window.jQuery.prototype
Expected behavior The check should return false
Desktop:
Additional context This seems to occur when including a mailchimp form in an iFrame
related: #1094
The text was updated successfully, but these errors were encountered:
how this manifests in my actual use of the script:
Sorry, something went wrong.
c0ae5c0
No branches or pull requests
Describe the bug
PR #613 introduced a flawed check for jQuery:
see https://github.com/davidjbradshaw/iframe-resizer/pull/613/files
if
jQuery
is set toundefined
this check will result in an error:To Reproduce
Steps to reproduce the behavior:
jQuery
isn't present:'jQuery' in window
window.jQuery = undefined
'jQuery' in window
'jQuery' in window && 'iFrameResize' in window.jQuery.prototype
Expected behavior
The check should return false
Desktop:
Additional context
This seems to occur when including a mailchimp form in an iFrame
related: #1094
The text was updated successfully, but these errors were encountered: