Commit 31beff32 authored by Traboulsi's avatar Traboulsi
Browse files

Update public/js/add_content.js

parent b1b3c9c8
Pipeline #8999 passed with stage
in 10 seconds
Showing with 2 additions and 2 deletions
+2 -2
...@@ -83,8 +83,8 @@ function addcontent(item) { ...@@ -83,8 +83,8 @@ function addcontent(item) {
}*/ }*/
//-- debut //-- debut
var sdgProjectHTML = ''; var sdgProjectHTML = '';
if ('sdgImage' in item) { if ('sdgImage' in item.item) {
var sdgProjectLink = item.sdgImage; var sdgProjectLink = item.item.sdgImage;
var customColor = '#8A2BE2'; var customColor = '#8A2BE2';
//var imageSize = '5px'; // Adjust this value to your desired size //var imageSize = '5px'; // Adjust this value to your desired size
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment