From 9dc7af1ae0e15247eebea6ec562e6dffcaef6ad6 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 7 Dec 2015 14:42:24 -0500 Subject: [PATCH] removing href fromt top bar parent links --- js/app.js | 4 ++++ js/custom/pageSetup.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/js/app.js b/js/app.js index 2f4238a..e06e7b5 100644 --- a/js/app.js +++ b/js/app.js @@ -221,4 +221,8 @@ $(document).ready(function () { $("#properties .top-bar .top-bar-section ul#menu-properties li ul.dropdown li a").mouseout(function () { $("#properties .top-bar .top-bar-section ul#menu-properties #menu-item-1517 > a").css("box-shadow", "0px -7px 10px -9px rgba(0, 0, 0, 0.5) inset"); }); + $("a:contains('Stay')").attr("href", "#"); + $("a:contains('Dine')").attr("href", "#"); + $("a:contains('Explore')").attr("href", "#"); + $("a:contains('Play')").attr("href", "#"); }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 72232c2..58ae39d 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -212,4 +212,8 @@ $(document).ready(function () { $("#properties .top-bar .top-bar-section ul#menu-properties li ul.dropdown li a").mouseout(function () { $("#properties .top-bar .top-bar-section ul#menu-properties #menu-item-1517 > a").css("box-shadow", "0px -7px 10px -9px rgba(0, 0, 0, 0.5) inset"); }); + $("a:contains('Stay')").attr("href", "#"); + $("a:contains('Dine')").attr("href", "#"); + $("a:contains('Explore')").attr("href", "#"); + $("a:contains('Play')").attr("href", "#"); }); -- 2.17.1