]> iEval git - gruntmaster-page.git/blob - js/90-mobilenav.js
ad354ac9f273932762a934a6de1b7aee78c74c03
[gruntmaster-page.git] / js / 90-mobilenav.js
1 (function(){
2 'use strict';
3
4 $( document ).ready(function(){
5 if(document.body.clientWidth >= 768)
6 return;
7 $('#title').before('<div class="text-center">Tap title to toggle menu</div>');
8 $('nav').addClass('hidden');
9 $('#title').on('click', function () {
10 $('nav').toggleClass('hidden');
11 });
12 });
13 })();
This page took 0.03889 seconds and 3 git commands to generate.