Commit 0bf0bcf0 authored by Traboulsi's avatar Traboulsi
Browse files

Update public/js/add_content.js

No related merge requests found
Pipeline #9035 passed with stage
in 11 seconds
Showing with 1 addition and 2 deletions
+1 -2
......@@ -83,8 +83,7 @@ function addcontent(item) {
href="${sdgProjectLink}"
target="_blank"
onclick="var popupWindow=window.open('', '_blank'); popupWindow.document.body.innerHTML='<div style=\'text-align: center;\'><h2>SDG</h2><img src=\'${sdgProjectLink}\' alt=\'SDG Project Image\' style=\'width: 100%; max-width: 400px; background-color: white;\'><p>${titleLink}</p></div>'; popupWindow.document.title='${titleLink}';">
<img src="imgs/thumbnails/sdg.png" alt="SDG" width="20" height="20"> Sustainable Development Goals
</a> &nbsp;`;
<img src="imgs/thumbnails/sdg.png" alt="SDG" width="20" height="20"> Global Goals </a> &nbsp;`;
}
/* var sdgProjectHTML = '';
if ('sdgImage' in item) {
......
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