ok
This commit is contained in:
parent
f1b7de040a
commit
2b874a73be
59 changed files with 1227 additions and 1232 deletions
|
@ -1,4 +1,4 @@
|
|||
function truncate(str, maxlength) {
|
||||
return (str.length > maxlength) ?
|
||||
str.slice(0, maxlength - 3) + '...' : str;
|
||||
return (str.length > maxlength) ?
|
||||
str.slice(0, maxlength - 1) + '…' : str;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue