diff --git a/src/components/activitylog.js b/src/components/activitylog.js
index c506013fcb..3942e6d754 100644
--- a/src/components/activitylog.js
+++ b/src/components/activitylog.js
@@ -4,8 +4,14 @@ define(["events", "globalize", "dom", "datetime", "userSettings", "serverNotific
function getEntryHtml(entry, apiClient) {
var html = "";
html += '
';
- var color = "Error" == entry.Severity || "Fatal" == entry.Severity || "Warn" == entry.Severity ? "#cc0000" : "#00a4dc";
- var icon = "Error" == entry.Severity || "Fatal" == entry.Severity || "Warn" == entry.Severity ? "notification_important" : "notifications";
+ if ("Error" == entry.Severity || "Fatal" == entry.Severity || "Warn" == entry.Severity) {
+ var color = "#cc0000";
+ var icon = "notification_important";
+ }
+ else {
+ var color = "#00a4dc";
+ var icon = "notifications";
+ }
if (entry.UserId && entry.UserPrimaryImageTag) {
html += '