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