gsuez / master-bootstrap-3

Joomla 3.x Template with Bootstrap 3
https://www.masterbootstrap.com/
142 stars 90 forks source link

Firebug: TypeError: $ is not a function #10

Closed razzda closed 8 years ago

razzda commented 9 years ago

Firebug throws an error "TypeError: $ is not a function" for this (also happens in your own webpage):

<script type="text/javascript">
$('.dropdown input').click(function(e) {
e.stopPropagation();
});
</script>

and

<script type="text/javascript">
$('.dropdown-menu .dropdown-submenu a[data-toggle="dropdown-submenu"]').click(function (e)
{                   
    e.stopPropagation();
});
</script>
gsuez commented 9 years ago

Hi razzda, test this code for the first:


jQuery(function($){
    $('.dropdown-menu input, .dropdown-menu label').click(function(e) {
        e.stopPropagation();
    });
    });

For the second second code, comment it, and test it :)

Let me know for news. Regards

gsuez commented 8 years ago

we haven't received the required feedback