From: Anthony Talarico Date: Fri, 20 Jan 2017 21:46:15 +0000 (-0500) Subject: updating the onclick function for the forum author name link so that there is X-Git-Tag: v1.0.0^2~5 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=52c0f0fbcb86601aa2c1542ac18cdf5a21d00d56;p=WP-Themes%2Fmcda.git updating the onclick function for the forum author name link so that there is no text decoration after clicking an author's name below the post title --- diff --git a/js/app.js b/js/app.js index 9daf9a8..1d0146d 100644 --- a/js/app.js +++ b/js/app.js @@ -48,6 +48,7 @@ $(document).ready(function () { var author_link = page.find(".bbp-author-name"); author_link.on("click", function(e){ + $(this).css('text-decoration', 'none'); e.preventDefault(); console.log(e); }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 9f7655d..4cce861 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -38,6 +38,7 @@ $(document).ready(function () { var author_link = page.find(".bbp-author-name"); author_link.on("click", function(e){ + $(this).css('text-decoration', 'none'); e.preventDefault(); console.log(e); });