Skip to content

Commit

Permalink
re-added comment erased by accident
Browse files Browse the repository at this point in the history
  • Loading branch information
michikono committed Aug 23, 2014
1 parent e37b001 commit 48bd448
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jquery.boxfit.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
}
// fixing issue where custom line-heights would break wrapped text
inner_span.css('line-height', '100%');

// keep growing the target so long as we haven't exceeded the width or height
inner_span.css('font-size', settings.minimum_font_size);
while ($(this).width() <= original_width && $(this).height() <= original_height) {
if (current_step++ > settings.step_limit) {
Expand Down

0 comments on commit 48bd448

Please sign in to comment.