From 2e0c696f8c1ea2ba8e06fc00548ea23cf4f4c75f Mon Sep 17 00:00:00 2001 From: chriswebb09 Date: Tue, 9 Jan 2024 09:29:01 -0500 Subject: [PATCH] cleanup file --- .../static/js/team_report/team_report_components.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DirectReport/browserview/static/js/team_report/team_report_components.js b/DirectReport/browserview/static/js/team_report/team_report_components.js index a28c7b2..c3bf167 100644 --- a/DirectReport/browserview/static/js/team_report/team_report_components.js +++ b/DirectReport/browserview/static/js/team_report/team_report_components.js @@ -64,10 +64,10 @@ const openPopover = (e: ChangeEvent, team_member) => { }); document.getElementById('popover-id-left-purple').classList.toggle("hidden"); document.getElementById('popoverTitleContent').innerHTML = team_member.name - var a = document.createElement('a'); + let a = document.createElement('a'); a.setAttribute('href',"https://www.github.com/" + team_member.github_username); a.innerHTML = "Github Profile" - var p = document.createElement("p"); + let p = document.createElement("p"); p.innerHTML = team_member.accomplishments + "

"; p.appendChild(a); document.getElementById('popoverContent').appendChild(p);