From 64884ed9183cb836b9de01ef967b671ea3a3acd5 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Tue, 17 May 2016 00:35:32 +0200 Subject: [PATCH] little js change for network colorbox images --- js/modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/modal.js b/js/modal.js index 354a5e11d..4092084e4 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");