Skip to content

Commit 5a0f6d9

Browse files
authored
Update GitHub text in wins.js (#7897)
* update github text * only modify instance of github on line 509
1 parent be062c0 commit 5a0f6d9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

assets/js/wins.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -337,15 +337,15 @@
337337
}
338338

339339
// Avoiding using innerHTML due to security risks
340-
// Creating the elements
340+
// Creating the elements
341341
const teamContainer = cloneCardTemplate.querySelector('.project-inner.wins-card-team');
342342
const roleContainer = cloneCardTemplate.querySelector('.project-inner.wins-card-role');
343343
const teamSpanElement = document.createElement('span');
344344
teamSpanElement.classList.add('wins-team-role-color');
345345
const roleSpanElement = document.createElement('span');
346346
roleSpanElement.classList.add('wins-team-role-color');
347-
348-
// Preparing the text of the elements
347+
348+
// Preparing the text of the elements
349349
teamSpanElement.textContent = "Team(s): ";
350350
const teamTextNode = document.createTextNode(card[team]);
351351
roleSpanElement.textContent = "Role(s): ";
@@ -506,7 +506,7 @@ function changeSeeMoreBtn(x) {
506506
if (data[i][linkedin_url].length > 0) {
507507
makeIcon(data[i][linkedin_url], overlayIcons, 'linkedin-icon', '/assets/images/wins-page/icon-linkedin-small.svg', 'LinkedIn profile for ' + data[i][name]);
508508
} if (data[i][github_url].length > 0) {
509-
makeIcon(data[i][github_url], overlayIcons, 'github-icon', '/assets/images/wins-page/icon-github-small.svg', 'Github profile for ' + data[i][name]);
509+
makeIcon(data[i][github_url], overlayIcons, 'github-icon', '/assets/images/wins-page/icon-github-small.svg', 'GitHub profile for ' + data[i][name]);
510510
}
511511

512512
const overlayName = document.querySelector('#overlay-name');

0 commit comments

Comments
 (0)