mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
some escaping and fixed uploads in progress
This commit is contained in:
@@ -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>';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user