From d22e077463dc80f8b498911caaa8829e453cf58e Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 11 Dec 2015 09:06:06 -0500 Subject: [PATCH] too specific in targeting from menu to disable top bar links --- js/app.js | 2 +- js/custom/pageSetup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index de9329d..dda9898 100644 --- a/js/app.js +++ b/js/app.js @@ -199,7 +199,7 @@ $(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"); }); - $("#long-bar section.top-bar-section ul#menu-front-menu > li > a").on("click", function (e) { + $("#long-bar section.top-bar-section ul > li > a").on("click", function (e) { e.preventDefault(); return false; }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 0f4a035..afbc187 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -190,7 +190,7 @@ $(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"); }); - $("#long-bar section.top-bar-section ul#menu-front-menu > li > a").on("click", function (e) { + $("#long-bar section.top-bar-section ul > li > a").on("click", function (e) { e.preventDefault(); return false; }); -- 2.17.1