removed jquery function to deactivate off canvas href link
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 28 Jan 2016 16:14:26 +0000 (11:14 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 28 Jan 2016 16:14:26 +0000 (11:14 -0500)
js/app.js
js/custom/pageSetup.js

index d785365..c6e3b1d 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -207,18 +207,10 @@ var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDat
         $($topMenuLink).css("font-size", "16px");
         $($topMenuLink).css("padding", "10px 5px");
     });
-//    var $placesToStay = $(".top-bar").find(".top-bar-section").children("ul#menu-main-menu").find("li.menu-item").eq(4);
-//    $placesToStay.on("click", function () {
-//       alert("Test");
-//    });
-//    $placesToStay.find('.dropdown').css("min-width", "375px");
-//    $placesToStay.find('.dropdown').children("li").css("width", "100%");
     
     $($topMenu).each(function () {
        $(this).removeClass("active") ;
     });
     
-    $("#menu-top-menu-1").children("li").children("a.toggle").attr("href", "javascript:void(0)");
-    
     $("#menu-top-menu-1").children("li:nth-child(2)").children("a:nth-child(1)").addClass("offCanvasLinks");
 });
index 0034004..057014e 100644 (file)
@@ -198,18 +198,10 @@ var extraDay, end, arrival, currentDate, currentDate2, requiredDate, requiredDat
         $($topMenuLink).css("font-size", "16px");
         $($topMenuLink).css("padding", "10px 5px");
     });
-//    var $placesToStay = $(".top-bar").find(".top-bar-section").children("ul#menu-main-menu").find("li.menu-item").eq(4);
-//    $placesToStay.on("click", function () {
-//       alert("Test");
-//    });
-//    $placesToStay.find('.dropdown').css("min-width", "375px");
-//    $placesToStay.find('.dropdown').children("li").css("width", "100%");
     
     $($topMenu).each(function () {
        $(this).removeClass("active") ;
     });
     
-    $("#menu-top-menu-1").children("li").children("a.toggle").attr("href", "javascript:void(0)");
-    
     $("#menu-top-menu-1").children("li:nth-child(2)").children("a:nth-child(1)").addClass("offCanvasLinks");
 });