Conflict Jquery and MetisMenu and Modal

0

I'm having conflict with Jquery and MetisMenu and Modal (bootstrap):

If I ref. so the modal works, but the dropdown menu does not work:

<script src="../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script  src="https://code.jquery.com/jquery-3.1.1.min.js"integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="  crossorigin="anonymous"></script>

Now if I quoted jquery first the menu works, but the modal opens and disappears quickly:

<script  src="https://code.jquery.com/jquery-3.1.1.min.js"integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="  crossorigin="anonymous"></script>
<script src="../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
    
asked by anonymous 29.10.2016 / 00:28

1 answer

0

Resolved by updating the version. link: link

and keeping the bootstrap before jquery:

<script src="../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script  src="https://code.jquery.com/jquery-3.1.1.min.js"integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="  crossorigin="anonymous"></script>
    
29.10.2016 / 00:36