css fixes

This commit is contained in:
Mario Vavti
2017-10-10 20:02:42 +02:00
parent 0c4a1fb9be
commit 07ae431950
3 changed files with 7 additions and 4 deletions

View File

@@ -987,7 +987,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], .dropdown-item img[data-src]").each(function(i, el){
$(".dropdown-menu img[data-src], .notification 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");