01cd47dd5e
Fixes #8
11 lines
212 B
JavaScript
11 lines
212 B
JavaScript
var length = 35;
|
|
|
|
$(function(){
|
|
$(".trim-that a, limit").each(function(i){
|
|
len=$(this).text().length;
|
|
if(len>length)
|
|
{
|
|
$(this).text($(this).text().substr(0,(length-3))+'...');
|
|
}
|
|
});
|
|
});
|