$(".comment").shorten({ "showChars": 100, "moreText": "See More", }); $(".comment-small").shorten({ showChars: 10 });