Skip to content

Commit ee6f0c4

Browse files
committed
Bugfix orgs pointing to nowhere
1 parent f8340c5 commit ee6f0c4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎js/script.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -487,10 +487,10 @@ app.filter('linkProject', function() {
487487

488488
app.filter('linkOrg', function() {
489489
return function(org) {
490-
if (org.blog == "" || org.blog == null) {
491-
return org.html_url;
490+
if (org.userName) {
491+
return "https://github.com/"+org.userName;
492492
} else {
493-
return (org.blog.substring(0,4) != "http") ? "http://"+org.blog : org.blog;
493+
return "#";
494494
}
495495
};
496496
});

0 commit comments

Comments
 (0)