]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frost-mobile/js/main.js
No need to remove data-src attributes
[friendica.git] / view / theme / frost-mobile / js / main.js
index 197d496646cfcdfab30acc123b7d23d8756ed482..5a15b081bd0cf51ad5286312c05f8295fb3ec20f 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');