Browse Source

Fixed link of orgs to redirect to the internal websites organization view rather than the orgs github.

config-and-link-fixes
jrtechs 4 years ago
parent
commit
6897454a7b
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      public/js/profileGen.js

+ 2
- 1
public/js/profileGen.js View File

@ -66,7 +66,8 @@ function parseOrgs(name) {
prom.push( new Promise( (res, rej) => {
url = orgs[i].url;
queryUrl(url, (orgData) => {
orgs_final.push("<a href=\""+orgData.html_url+"\"><img src=\""+orgData.avatar_url+"\" class=\"img-fluid\" style=\"max-width:35px\"></img></a>");
console.log(orgData);
orgs_final.push("<a href=\"OrgRepoGraph.html?name="+orgData.login+"\"><img src=\""+orgData.avatar_url+"\" class=\"img-fluid\" style=\"max-width:35px\"></img></a>");
res();
}, (error) => {
console.log(error);

Loading…
Cancel
Save