From 9c122ae89cf035bfec49f78d7a285df6e7e799a8 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 27 Jan 2016 13:35:09 -0500 Subject: [PATCH] reverting changes --- js/app.js | 5 ++--- js/custom/pageSetup.js | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/js/app.js b/js/app.js index 25559d3..948ae96 100644 --- a/js/app.js +++ b/js/app.js @@ -200,10 +200,9 @@ var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDat $(".menu-icon").on("click", function () { window.scrollTo(0,0); }); - var $topMenuAnchor = $("ul#menu-top-menu li > a"); - var $topMenu = $("ul#menu-top-menu li"); + var $topMenu = $("ul#menu-top-menu li > a"); $("#headerLinks").children("ul#menu-top-menu").children("li").each(function () { - $($topMenuAnchor).css("background", "none").css("font-size", "16px"); + $($topMenu).css("background", "none").css("font-size", "16px"); $($topMenu).mouseenter( function () { $(this).css("background", "white") ; }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 414a9bb..4e52458 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -191,10 +191,9 @@ var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDat $(".menu-icon").on("click", function () { window.scrollTo(0,0); }); - var $topMenuAnchor = $("ul#menu-top-menu li > a"); - var $topMenu = $("ul#menu-top-menu li"); + var $topMenu = $("ul#menu-top-menu li > a"); $("#headerLinks").children("ul#menu-top-menu").children("li").each(function () { - $($topMenuAnchor).css("background", "none").css("font-size", "16px"); + $($topMenu).css("background", "none").css("font-size", "16px"); $($topMenu).mouseenter( function () { $(this).css("background", "white") ; }); -- 2.17.1