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");