added anchors to the li hover radius
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 27 Jan 2016 18:39:51 +0000 (13:39 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 27 Jan 2016 18:39:51 +0000 (13:39 -0500)
js/app.js
js/custom/pageSetup.js

index 30a6600..76524ee 100644 (file)
--- 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");
index a20a579..cf4f17e 100644 (file)
@@ -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");