Skip to content

Commit f6fd5e9

Browse files
committed
Use GH name if fullname is null
1 parent 0fd6a04 commit f6fd5e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

js/functions.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ function ghuser_translator(fullname, ghname) {
153153
return 'None';
154154
} else {
155155
var urltext = 'https://github.com/' + ghname;
156+
if (fullname === null) {
157+
fullname = ghname;
158+
}
156159
return '<a href="' + urltext + '">' + fullname + '</a>';
157160
}
158161
}

0 commit comments

Comments
 (0)