...
|
...
|
@@ -374,7 +374,7 @@ function chosedLength() { |
|
|
infoHtml,
|
|
|
choosedInfo = $('.choosed-info'),
|
|
|
notChoose = $('.not-choose'),
|
|
|
chosedStr = $chosedL.eq(0).html(),
|
|
|
chosedStr = $chosedL.eq(0).html().replace(/(^\s*)|(\s*$)/g, ""),
|
|
|
strlen = 0;
|
|
|
|
|
|
choosedInfo.removeClass('hide');
|
...
|
...
|
@@ -389,8 +389,7 @@ function chosedLength() { |
|
|
} else {
|
|
|
strlen ++;
|
|
|
}
|
|
|
|
|
|
if (strlen >= 18) {
|
|
|
if (strlen >= 16) {
|
|
|
chosedStr = chosedStr.substring(0, i) + '...';
|
|
|
break;
|
|
|
}
|
...
|
...
|
|