Commit 6ada9e70 authored by Traboulsi's avatar Traboulsi
Browse files

Update public/js/add_content.js

No related merge requests found
Pipeline #9012 passed with stage
in 11 seconds
Showing with 1 addition and 7 deletions
+1 -7
......@@ -79,13 +79,7 @@ function addcontent(item) {
var sdgProjectLink = item.sdgImage;
var customColor = '#8A2BE2';
sdgProjectHTML = `<a class="sdg-button btn btn-sm btn-outline-" style="color: ${customColor}; border-color: ${customColor};"
href="javascript:void(0);"
onclick="toggleImage('${sdgProjectLink}');"
onmouseover="hoverEffect(this, 'white', '#8A2BE2');"
onmouseout="hoverEffect(this, '${customColor}', 'white');">
SDG Projekt
<img id="sdgImage" src="" alt="SDG Project Image" style="max-width: 100%; max-height: 100%; display: none;"> </a> &nbsp;`;
sdgProjectHTML = `<a class="sdg-button btn btn-sm btn-outline-" style="color: ${customColor}; border-color: ${customColor};" href="javascript:void(0);"onclick="toggleImage('${sdgProjectLink}');"onmouseover="hoverEffect(this, 'white', '#8A2BE2');" onmouseout="hoverEffect(this, '${customColor}', 'white');">SDG Projekt<img id="sdgImage" src="" alt="SDG Project Image" style="max-width: 100%; max-height: 100%; display: none;"> </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