This commit is contained in:
barisusakli
2014-06-13 13:57:38 -04:00
parent 8402c3edc3
commit ce1934e566
6 changed files with 11 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ define('notifications', ['sounds'], function(sound) {
} else {
image = '';
}
notification.text = $('<div/>').text(notification.text).html();
return '<li class="' + (notification.readClass || '') + '"><a href="' + (notification.path || '#') + '">' + image + '<span class="pull-right relTime">' + utils.relativeTime(notification.datetime, true) + '</span><span class="text">' + notification.text + '</span></a></li>';
}