Skip to content

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