]> git.mxchange.org Git - friendica.git/commitdiff
little js change for network colorbox images
authorrabuzarus <>
Mon, 16 May 2016 22:35:32 +0000 (00:35 +0200)
committerrabuzarus <>
Mon, 16 May 2016 22:35:32 +0000 (00:35 +0200)
js/modal.js

index 354a5e11d9b5194111ade3d740e89939f97e0532..4092084e43384c8d0372e02f985179b7a0dfb7f9 100644 (file)
@@ -15,7 +15,7 @@ $(document).ready(function(){
 
                // Add Colorbox for viewing Network page images
        //var cBoxClasses = new Array();
-       $(".wall-item-body a img").each(function(){
+       $("body").on("click", ".wall-item-body a img", function(){
                var aElem = $(this).parent();
                var imgHref = aElem.attr("href");