experimental new notifications - needs pconfig experimental_notif set to 1 for your channel to work.

This commit is contained in:
Mario Vavti
2017-10-08 17:19:29 +02:00
parent 71c206fdb9
commit 991db280be
51 changed files with 383 additions and 23 deletions

View File

@@ -992,7 +992,7 @@ function notify_popup_loader(notifyType) {
html = notifications_tpl.format(this.notify_link,this.photo,this.name,this.message,this.when,this.hclass);
$("#nav-" + notifyType + "-menu").append(html);
});
$(".dropdown-menu img[data-src]").each(function(i, el){
$(".dropdown-menu img[data-src], .dropdown-item img[data-src]").each(function(i, el){
// Replace data-src attribute with src attribute for every image
$(el).attr('src', $(el).data("src"));
$(el).removeAttr("data-src");