Commit 9aeb2cbc authored by 杨翌文's avatar 杨翌文

1

parent 38d774c0
......@@ -51,8 +51,8 @@ function handleContent(content) {
.replace(htmlElReg, "")
.replace(emElReg, "");
if (content.length > threadsConf.contentLength) {
content = content.substr(0, threadsConf.contentLength) + "……";
if (content.length > 200) {
content = content.substr(0, 200) + "……";
}
return content.trim();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment