]> iEval git - gruntmaster-page.git/blame - js/90-mobilenav.js
Replace bootstrap modals with homemade modals
[gruntmaster-page.git] / js / 90-mobilenav.js
CommitLineData
f3f57928
MG
1(function(){
2 'use strict';
3
4 $( document ).ready(function(){
a7e836f2 5 if(window.innerWidth >= 768)
f3f57928
MG
6 return;
7 $('#title').before('<div class="text-center">Tap title to toggle menu</div>');
8 $('nav').addClass('hidden');
2bb3a377 9 $('#title').on('click', function () {
f3f57928
MG
10 $('nav').toggleClass('hidden');
11 });
12 });
13})();
This page took 0.024379 seconds and 4 git commands to generate.