From: Anthony Talarico Date: Fri, 11 Dec 2015 14:06:06 +0000 (-0500) Subject: too specific in targeting from menu to disable top bar links X-Git-Tag: v1.0.0^2~31 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=d22e077463dc80f8b498911caaa8829e453cf58e;p=WP-Themes%2Fstaffords.git too specific in targeting from menu to disable top bar links --- 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; });