From 09963ba14d3518bc1be0912713563756356fbaaa Mon Sep 17 00:00:00 2001 From: Abby Milberg Date: Tue, 2 Feb 2016 09:52:04 -0500 Subject: [PATCH] Adding total-chars/total-words/total-lines classes to parent elements. --- jquery.lettering.js | 1 + 1 file changed, 1 insertion(+) diff --git a/jquery.lettering.js b/jquery.lettering.js index 70aae46..43708f1 100644 --- a/jquery.lettering.js +++ b/jquery.lettering.js @@ -16,6 +16,7 @@ , a = text.split(splitter) , inject = ''; if (a.length) { + $(t).addClass('total-' + klass + 's-' + a.length); $(a).each(function(i, item) { inject += ''+after; });