Truncate jQuery version, can be long and break display
This commit is contained in:
@@ -312,6 +312,11 @@ var policies = {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Truncate version number (can be long sometimes, no clue why but it can...)
|
||||
if (value.length > 30) {
|
||||
value = value.substr(0, 28) + '...';
|
||||
}
|
||||
|
||||
return {
|
||||
value: value,
|
||||
score: score,
|
||||
|
||||
Reference in New Issue
Block a user