Skip to content

Node.js based forum software built for the modern web

notif unread class

Baris Soner Usaklia1149b8f8dc9
diff --git a/src/user.js b/src/user.js
index ed0e92a1dd..2ec7bf70cb 100644
--- a/src/user.js
+++ b/src/user.js
@@ -1015,7 +1015,7 @@ var bcrypt = require('bcrypt'),
return parseInt(b.datetime, 10) - parseInt(a.datetime, 10);
}).map(function(notif) {
notif.datetimeISO = utils.toISOString(notif.datetime);
- notif.readClass = !notif.read ? 'unread' : '';
+ notif.readClass = !notif.read ? 'label-warning' : '';
return notif;
});