I\'m working on a personal project and I\'m having a small issue:
This is my code code and currently works: http://jsfiddle.net/gvM3b/:
$(\".show-mor
Like this:
$(".show-more").click(function () { $(".text").toggleClass("show-more-height"); if(!$(".text").hasClass("show-more-height")){ $(this).text("Show Less"); }else{ $(this).text("Show More"); } });
updated fiddle