]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frost/js/main.js
Merge remote-tracking branch 'upstream/master'
[friendica.git] / view / theme / frost / js / main.js
index 4aaa7ddb74062b277d5f91783101c549348be9c2..3f2f1356945deae1ca122638c86b4bb1032805b3 100644 (file)
                                        html = notifications_tpl.format(e.attr('href'),e.attr('photo'), text, e.attr('date'), e.attr('seen'));
                                        nnm.append(html);
                                });
+
+                               $j("img[data-src]", nnm).each(function(i, el){
+                                       // Add src attribute for images with a data-src attribute
+                                       $j(el).attr('src', $j(el).data("src"));
+                               });
                        }
                        notif = eNotif.attr('count');
                        if (notif>0){