mirror of
https://github.com/resume/resume.github.com.git
synced 2025-12-30 15:49:30 -06:00
Add test on blog value to prevent handling an empty string
This commit is contained in:
@@ -90,7 +90,7 @@ var run = function() {
|
||||
since: since
|
||||
};
|
||||
|
||||
if (data.user.blog !== undefined && data.user.blog !== null) {
|
||||
if (data.user.blog !== undefined && data.user.blog !== null && data.user.blog !== '') {
|
||||
view.blog = addHttp + data.user.blog;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user