Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

iQuery 3.0.0 not supported? #152

Open
ghost opened this issue Jun 16, 2016 · 2 comments
Open

iQuery 3.0.0 not supported? #152

ghost opened this issue Jun 16, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 16, 2016

Hey guys,
I´m updated my jQuery version from 2.x to the new 3.0.0. The problem is, that the multi-level-push-menu plugin is not supported by this version. Has anyone a solution for this problem and can help me?

Thanks in advance

@Anubiso
Copy link

Anubiso commented Jul 18, 2016

The property .context was removed in jquery 3.0.0 as it was deprecated since 1.10 (see https://jquery.com/upgrade-guide/3.0/#breaking-change-deprecated-context-and-selector-properties-removed)

You can change line 20 from:
$container = ( $this.context != undefined ) ? $this : $( 'body' ),
to
$container = $this,

and it will work again.

aivins added a commit to aivins/multi-level-push-menu that referenced this issue Aug 30, 2016
@ghost
Copy link
Author

ghost commented Sep 13, 2016

@Anubiso
Thanks for your help, the plugin works great with your short fix.

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

No branches or pull requests

1 participant