We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
other
1 parent 3c7f8ed commit 82b9b2eCopy full SHA for 82b9b2e
libs/modelParser.js
@@ -674,8 +674,9 @@ var parseComment = function (aComment) {
674
comment.ua.raw = comment.userAgent;
675
ua = useragent.parse(comment.userAgent).family.toLowerCase().replace(/\s+/g, '-');
676
if (ua !== 'other') {
677
- comment.ua.class = 'fa-lg ua-' + useragent.parse(comment.userAgent).family.toLowerCase()
678
- .replace(/\s+/g, '-')
+ comment.ua.class = 'fa-lg ua-' + ua;
+ } else if (comment.userAgent) {
679
680
}
681
682
// Dates
0 commit comments