diff --git a/jquery.fittext.js b/jquery.fittext.js index 1864f08..8363782 100644 --- a/jquery.fittext.js +++ b/jquery.fittext.js @@ -28,6 +28,7 @@ // Resizer() resizes items based on the object width divided by the compressor * 10 var resizer = function () { $this.css('font-size', Math.max(Math.min($this.width() / (compressor*10), parseFloat(settings.maxFontSize)), parseFloat(settings.minFontSize))); + $this.addClass('fittexted'); }; // Call once to set. @@ -40,4 +41,4 @@ }; -})( jQuery ); \ No newline at end of file +})( jQuery );