Skip to content
New issue

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

Fix Iframe load issue with jQuery - 3.2.1 #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

imsurinder90
Copy link

Replace depreciated load() method with the one supported with latest jQuery version 3.2.1

I got this issue when I used wcDocker with latest jQuery. it throws following error when an Iframe is loaded with url:
"Uncaught TypeError: url.indexOf is not a function”

Replaced this.$iFrame.load(function () {}); with this.$iFrame.on('load', function () {});

…latest

jquery version 3.2.1

Replace `this.$iFrame.load(function () {});` with
`this.$iFrame.on('load', function () {});`
@MarcWeber
Copy link

Looks like #125 contains this patch so this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants