From 52c0f0fbcb86601aa2c1542ac18cdf5a21d00d56 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 20 Jan 2017 16:46:15 -0500 Subject: [PATCH] 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 --- js/app.js | 1 + js/custom/pageSetup.js | 1 + 2 files changed, 2 insertions(+) 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); }); -- 2.17.1