diff --git a/agaric/js/script.js b/agaric/js/script.js index 13a1158..93c7a3f 100644 --- a/agaric/js/script.js +++ b/agaric/js/script.js @@ -1,5 +1,5 @@ -$( document ).ready(function() { - +(function ($) { +$(document).ready(function(){ // Open side navbar for handsets $('.navbar-burger').on('click tap', function(e) { $(this).toggleClass('is-active'); @@ -41,5 +41,5 @@ $( document ).ready(function() { } ] }); - }); +})(jQuery);