From: Anthony Talarico Date: Mon, 23 Nov 2015 21:34:38 +0000 (-0500) Subject: removing \n with jquery X-Git-Tag: v1.0.0^2~267 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=3d4ca79849384dfe2ea0cb61c16b8096da7012fd;p=WP-Themes%2Fstaffords.git removing \n with jquery --- diff --git a/js/app.js b/js/app.js index e4fe87b..63fc909 100644 --- a/js/app.js +++ b/js/app.js @@ -218,7 +218,7 @@ $(document).ready(function () { $('.searchform').css("right", "5px"); $("li a.search").css("visibility", "visible"); }); - + $('.search-result-container p.search_result_context').find('br').remove(); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index daff1ed..711a0c2 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -209,7 +209,7 @@ $(document).ready(function () { $('.searchform').css("right", "5px"); $("li a.search").css("visibility", "visible"); }); - + $('.search-result-container p.search_result_context').find('br').remove();