diff --git a/ascribe/assets/_src/js/ascribe.js b/ascribe/assets/_src/js/ascribe.js index 8e34ac2..89b0bef 100644 --- a/ascribe/assets/_src/js/ascribe.js +++ b/ascribe/assets/_src/js/ascribe.js @@ -11,7 +11,6 @@ $(document).ready(function(){ slider(); marketplaces(); tourNav(); - mobileNav(); stickyNav(); function tourNav() { @@ -74,35 +73,3 @@ function stickyNav() { } }); } - - -function mobileNav() { - - var hamburger = $('.hamburger'), - popup = $('.mobile-nav'); - - hamburger.click(function(e) { - e.preventDefault(); - - // toggle popup - popup.toggleClass('active'); - hamburger.toggleClass('open'); - - // bind the hide controls - $(document).bind('click.hidepopup', function() { - // hide popup - popup.removeClass('active'); - hamburger.removeClass('open'); - // unbind the hide controls - $(document).unbind('click.hidepopup'); - }); - - // dont close thepop when you click on thepop - popup.on('click', function(e) { - e.stopPropagation(); - }); - - // and dont close thepop now - e.stopPropagation(); - }); -} diff --git a/ascribe/template-blogheader.php b/ascribe/template-blogheader.php index 8a13697..598f25b 100644 --- a/ascribe/template-blogheader.php +++ b/ascribe/template-blogheader.php @@ -24,18 +24,6 @@ require 'controller/init.php'; alt="ascribe logo" class="logo phone-only"> -