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

Jquery & Metro 4.3 #1411

Closed
IvanVasquez opened this issue Sep 24, 2019 · 0 comments
Closed

Jquery & Metro 4.3 #1411

IvanVasquez opened this issue Sep 24, 2019 · 0 comments
Labels
Milestone

Comments

@IvanVasquez
Copy link

I have a problem related to the use of jQuery and Metro 4.3

If I use it like this:
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="https://cdn.metroui.org.ua/v4/js/metro.min.js"></script>
I can't open dropdown menus from appbar, the console shows: error and Script error. (line 0)

And if I call Metro first, like this:
<script src="https://cdn.metroui.org.ua/v4/js/metro.min.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
The appbar works but I can't get Metro objects with $(elem).data("component") , as the result is: undefined

Here's an example: https://jsbin.com/vekomol/edit?html,js,console,output

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

No branches or pull requests

2 participants