fixes the notification image too, the property was called image not
picture
This commit is contained in:
barisusakli
2014-05-22 21:31:48 -04:00
parent 4be979f88d
commit 66701afdaa
3 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ define(['sounds'], function(sound) {
image = '';
}
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>';
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>';
}
var x, html = '';