From 42bae2f40dbb86a79dce213f85aa3f1a3a99f780 Mon Sep 17 00:00:00 2001 From: rodica-andronache Date: Tue, 21 Jun 2016 14:03:44 +0300 Subject: [PATCH] !!! Fixed issues reported by travis --- js/customizer.js | 2 -- js/functions.js | 5 ++++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/js/customizer.js b/js/customizer.js index b10cce2..be07cbb 100644 --- a/js/customizer.js +++ b/js/customizer.js @@ -110,8 +110,6 @@ result+= '
  • '; } $( '.social-media-icons' ).html( result ); - zillah_header_social_icons_width(); - zillah_menu_toggle_height(); } ); } ); diff --git a/js/functions.js b/js/functions.js index 8d480fc..3acd5aa 100644 --- a/js/functions.js +++ b/js/functions.js @@ -99,7 +99,10 @@ //ACCESSIBILITY MENU ( function( $ ) { + /* global screenReaderText */ + function initMainNavigation( container ) { + // Add dropdown toggle that display child menu items. container.find( '.menu-item-has-children > a' ).after( '' ); @@ -208,7 +211,7 @@ var headerHeight, isAdminBar, lastScrollTop = 0, - initTop = 0; + initTop = 0, changeDirection = false, lastDirectionDown = false; var $headerToHide = $( '.header-inner-top' ),