Fix typo.

This commit is contained in:
Ibrahim Awwal
2012-09-05 02:44:11 -07:00
parent 742f4c03ef
commit 4b7e5b7c2c

View File

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