I’ve been having a tough bug to fix for my site that is related to the following part of functions.min.js :
jQuery(function(){
jQuery('#main-nav .root').tinyNav({active:'current-menu-item'})
});
When I run it in chrome, the console gives : “Uncaught TypeError: undefined is not a function”. In firefox, we get the more specific “TypeError: jQuery(…).tinyNav is not a function”.
I seem to get this error only in pages where I have some javascript running too. I suppose it might be a conflit of some sort with the jQuery version? I use the following line of code in my scripts :
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
Could anyone help me figure out how to fix this bug please?