fixes #297 - Cast & Crew: Too much data displayed
This commit is contained in:
@@ -813,7 +813,15 @@
|
||||
role = "Guest star";
|
||||
}
|
||||
|
||||
html += '<p>' + (role || "") + '</p>';
|
||||
role = role || "";
|
||||
|
||||
var maxlength = 40;
|
||||
|
||||
if (role.length > maxlength) {
|
||||
role = role.substring(0, maxlength - 3) + '...';
|
||||
}
|
||||
|
||||
html += '<p>' + role + '</p>';
|
||||
|
||||
html += '</div>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user