Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixes #2767 - Cut description at 75th char
  • Loading branch information
marimeireles committed Feb 13, 2019
commit 25b6da29a8c2fe356cce8a5b08aada3096489c6c
2 changes: 1 addition & 1 deletion webcompat/static/js/lib/models/issue.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ issues.Issue = Backbone.Model.extend({
if (el[0]) {
var description = el[0].nextSibling.textContent;
description = description.replace(": ", "");
return description;
return description != null ? description.slice(0, 74) : null;
}
},

Expand Down