human readable numbers for user card

main
psychobunny 9 years ago
parent 05bc0299aa
commit 7f64e2d1d8

@ -187,6 +187,8 @@ $(document).ready(function() {
drop.css({top: y+'px', left: x+'px'}).addClass("animate");
});
utils.makeNumbersHumanReadable($('.human-readable-number'));
card.on('mouseleave', function() {
card.fadeOut(function() {
card.remove();

@ -15,11 +15,11 @@
<div class="row usercard-info">
<div class="col-xs-4">
<small>Posts</small>
{postcount}
<span class="human-readable-number">{postcount}</span>
</div>
<div class="col-xs-4">
<small>Reputation</small>
{reputation}
<span class="human-readable-number">{reputation}</span>
</div>
<button class="btn-morph fab plus">

Loading…
Cancel
Save