]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frost/js/main.js
No need to remove data-src attributes
[friendica.git] / view / theme / frost / js / main.js
index 91e79ffc383164f9619dd44e4e663fd8a0c7be49..e47ecff376bd6f40dca6d66994ebe3564d49087d 100644 (file)
                                });
 
                                $("img[data-src]", nnm).each(function(i, el){
-                                       // Replace data-src attribute with src attribute for every image
+                                       // Add src attribute for images with a data-src attribute
                                        $(el).attr('src', $(el).data("src"));
-                                       $(el).removeAttr("data-src");
                                });
                        }
                        notif = eNotif.attr('count');