Commit 4b7e5b7c by Ibrahim Awwal

Fix typo.

parent 742f4c03
...@@ -270,7 +270,7 @@ class @DiscussionUtil ...@@ -270,7 +270,7 @@ class @DiscussionUtil
@abbreviateString: (text, minLength) -> @abbreviateString: (text, minLength) ->
# Abbreviates a string to at least minLength characters, stopping at word boundaries # Abbreviates a string to at least minLength characters, stopping at word boundaries
if text.length<100 if text.length<minLength
return text return text
else else
while minLength < text.length && text[minLength] != ' ' while minLength < text.length && text[minLength] != ' '
......
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