This repository has been archived on 2024-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
|
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))+'...');
|
|
}
|
|
});
|
|
});
|