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"> - - -
- 'main-footer-menu', 'container' => false ) ); ?> -
diff --git a/ascribe/template-header.php b/ascribe/template-header.php index db6699b..ac6bd80 100644 --- a/ascribe/template-header.php +++ b/ascribe/template-header.php @@ -25,24 +25,6 @@ require 'controller/init.php'; alt="ascribe logo" class="logo phone-only"> - - - - -
-
- 'main-footer-menu', 'container' => false ) ); ?>
diff --git a/ascribe/template-tour.php b/ascribe/template-tour.php index a22a674..9eaa147 100644 --- a/ascribe/template-tour.php +++ b/ascribe/template-tour.php @@ -31,28 +31,12 @@ $controller = new Controller(); class="logo phone-only"> - -

-
- 'main-footer-menu', 'container' => false ) ); ?> -