Navigation Menu

Skip to content

Commit

Permalink
Small update so that 'letter-spacing' will actually work
Browse files Browse the repository at this point in the history
  • Loading branch information
cmex committed Jun 6, 2012
1 parent 3a39cac commit d0c4c05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/jquery.slabtext.js
Expand Up @@ -124,10 +124,10 @@
finalText = postText;
};

lineText.push('<span class="slabtext">' + (settings.wrapAmpersand ? finalText.replace("&", '<span class="amp">&amp;</span>') : finalText) + "</span>");
lineText.push('<span class="slabtext">' + $.trim(settings.wrapAmpersand ? finalText.replace("&", '<span class="amp">&amp;</span>') : finalText) + "</span>");
};

$this.html(lineText.join(""));
$this.html(lineText.join(" "));
};
} else {
// We only need the font-size for the resize-to-fit functionality
Expand Down

0 comments on commit d0c4c05

Please sign in to comment.