From fa28f843bbe99af95b71ae9a4d17d13d2d766f91 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 11 Jan 2016 12:42:29 -0500 Subject: [PATCH] removing alert statement --- js/app.js | 2 +- js/custom/pageSetup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index 7acf047..fc834ad 100644 --- a/js/app.js +++ b/js/app.js @@ -109,7 +109,7 @@ $(document).ready(function () { // var words = $(".excerpt" + i).text().split(' '); var words = $(".excerpt" + i).text(); if(words.length < 225){ - alert(words.length); + $(".excerpt" + i).parent().find("a").replaceWith(function(){ return $("

", {html: $(this).html()}); }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 03e2a5b..5813751 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -100,7 +100,7 @@ $(document).ready(function () { // var words = $(".excerpt" + i).text().split(' '); var words = $(".excerpt" + i).text(); if(words.length < 225){ - alert(words.length); + $(".excerpt" + i).parent().find("a").replaceWith(function(){ return $("

", {html: $(this).html()}); }); -- 2.17.1