From 7f0699ab057be0d3ad2a86dd86ee61502ff351ea Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 27 Jan 2016 13:39:51 -0500 Subject: [PATCH] added anchors to the li hover radius --- js/app.js | 4 ++-- js/custom/pageSetup.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/app.js b/js/app.js index 30a6600..76524ee 100644 --- a/js/app.js +++ b/js/app.js @@ -204,10 +204,10 @@ var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDat var $menuLi = $("ul#menu-top-menu li"); $("#headerLinks").children("ul#menu-top-menu").children("li").each(function () { $($topMenu).css("background", "none").css("font-size", "16px"); - $($menuLi).mouseenter( function () { + $($menuLi, $topMenu).mouseenter( function () { $(this).css("background", "white") ; }); - $($menuLi).mouseout( function () { + $($menuLi, $topMenu).mouseout( function () { $(this).css("background", "none") ; }); $($topMenu).css("padding", "10px 5px"); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index a20a579..cf4f17e 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -195,10 +195,10 @@ var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDat var $menuLi = $("ul#menu-top-menu li"); $("#headerLinks").children("ul#menu-top-menu").children("li").each(function () { $($topMenu).css("background", "none").css("font-size", "16px"); - $($menuLi).mouseenter( function () { + $($menuLi, $topMenu).mouseenter( function () { $(this).css("background", "white") ; }); - $($menuLi).mouseout( function () { + $($menuLi, $topMenu).mouseout( function () { $(this).css("background", "none") ; }); $($topMenu).css("padding", "10px 5px"); -- 2.17.1