From: rabuzarus <> Date: Mon, 16 May 2016 22:35:32 +0000 (+0200) Subject: little js change for network colorbox images X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=64884ed9183cb836b9de01ef967b671ea3a3acd5;p=friendica.git little js change for network colorbox images --- diff --git a/js/modal.js b/js/modal.js index 354a5e11d9..4092084e43 100644 --- a/js/modal.js +++ b/js/modal.js @@ -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");