article.js 231 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 $(function () { $('body').click(function () { $('.mobile-left-nav').removeClass('show-nav'); }); $('.mobile-left-nav').click(function (event) { event.stopPropagation(); $(this).toggleClass('show-nav'); }); });