From: Anthony Talarico Date: Thu, 10 Dec 2015 19:54:05 +0000 (-0500) Subject: testing click function X-Git-Tag: v1.0.0^2~49 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=8b7be30e4bd56d0839e706f0c7cb2184dbcc5ec1;p=WP-Themes%2Fstaffords.git testing click function --- diff --git a/js/app.js b/js/app.js index 70e106e..c2d9172 100644 --- a/js/app.js +++ b/js/app.js @@ -208,8 +208,10 @@ $(document).ready(function () { if($(".title.back.js-generated").css("display") === "none"){ $(".title.back.js-generated").css("display", "inherit"); } -// $("#about .top-bar .top-bar-section ul#menu-about-staffords li ul.dropdown li:first-child").click(function () { - + }); + + $(".title.back.js-generated a").on("click", function () { + alert("test"); }); // $("#about .top-bar .top-bar-section ul#menu-about-staffords li#menu-item-1885 ul.dropdown").append("
  • Back
  • "); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 5aea1f7..8cb2679 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -199,8 +199,10 @@ $(document).ready(function () { if($(".title.back.js-generated").css("display") === "none"){ $(".title.back.js-generated").css("display", "inherit"); } -// $("#about .top-bar .top-bar-section ul#menu-about-staffords li ul.dropdown li:first-child").click(function () { - + }); + + $(".title.back.js-generated a").on("click", function () { + alert("test"); }); // $("#about .top-bar .top-bar-section ul#menu-about-staffords li#menu-item-1885 ul.dropdown").append("
  • Back
  • ");