diff --git a/public/js/add_content.js b/public/js/add_content.js index 1b816b851a876ffb82a87b665cb8931e612eef9d..a8d8a17782d00d6f9fa49eb1d58883f1e5df8272 100644 --- a/public/js/add_content.js +++ b/public/js/add_content.js @@ -83,7 +83,7 @@ function addcontent(item) { }*/ //-- debut var sdgProjectHTML = ''; - if ('sdgImage' in item.item) { + if ('sdgImage' in item) { var sdgProjectLink = item.item.sdgImage; var customColor = '#8A2BE2'; //var imageSize = '5px'; // Adjust this value to your desired size